Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7867/0.7867, allocations: 133.6 MB / 141.6 MB, free: 2.945 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 104.1 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.322e-05, allocations: 8 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4686, allocations: 82.31 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.836/5.305, allocations: 1.83 GB / 2.464 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/5.305, allocations: 85.77 kB / 2.464 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.904/6.209, allocations: 219.4 MB / 2.678 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/6.209, allocations: 0 / 2.678 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.881e-05/6.209, allocations: 14.55 kB / 2.678 GB, free: 206.4 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008179/6.21, allocations: 0.5594 MB / 2.679 GB, free: 206 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/6.21, allocations: 8.875 kB / 2.679 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/6.211, allocations: 58.11 kB / 2.679 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/6.211, allocations: 306.9 kB / 2.679 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/6.211, allocations: 8.703 kB / 2.679 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/6.211, allocations: 9.062 kB / 2.679 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001573/6.211, allocations: 84.89 kB / 2.679 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/6.212, allocations: 154.2 kB / 2.68 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/6.212, allocations: 3.656 kB / 2.68 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/6.212, allocations: 0 / 2.68 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/6.212, allocations: 7.719 kB / 2.68 GB, free: 205.7 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/6.212, allocations: 0.7364 MB / 2.68 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/6.213, allocations: 63.7 kB / 2.68 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/6.213, allocations: 53.75 kB / 2.68 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/6.213, allocations: 187.8 kB / 2.681 GB, free: 205 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/6.213, allocations: 34.34 kB / 2.681 GB, free: 205 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/6.213, allocations: 0 / 2.681 GB, free: 205 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003664/6.213, allocations: 138.9 kB / 2.681 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.499e-05/6.213, allocations: 54.88 kB / 2.681 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/6.213, allocations: 189.2 kB / 2.681 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/6.213, allocations: 25.7 kB / 2.681 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/6.214, allocations: 148.2 kB / 2.681 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/6.214, allocations: 37.53 kB / 2.681 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/6.214, allocations: 0 / 2.681 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/6.214, allocations: 331.8 kB / 2.681 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/6.214, allocations: 28.52 kB / 2.682 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/6.214, allocations: 90.23 kB / 2.682 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/6.214, allocations: 37.97 kB / 2.682 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/6.214, allocations: 0 / 2.682 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001576/6.214, allocations: 121.4 kB / 2.682 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/6.214, allocations: 360.4 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/6.214, allocations: 0 / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/6.214, allocations: 0 / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/6.214, allocations: 32.28 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/6.214, allocations: 5.781 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/6.214, allocations: 16.48 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/6.215, allocations: 11.62 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/6.215, allocations: 3.375 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001104/6.215, allocations: 67.2 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/6.215, allocations: 2.5 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-06/6.215, allocations: 0 / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/6.215, allocations: 28.78 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/6.215, allocations: 7.484 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/6.215, allocations: 22.61 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/6.215, allocations: 9.359 kB / 2.682 GB, free: 203.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.892e-05/6.215, allocations: 113.8 kB / 2.682 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001483/6.215, allocations: 101.8 kB / 2.683 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/6.215, allocations: 24.09 kB / 2.683 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/6.215, allocations: 134.8 kB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/6.215, allocations: 0 / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/6.216, allocations: 0 / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/6.216, allocations: 3.891 kB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/6.216, allocations: 0.5086 MB / 2.683 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/6.216, allocations: 3.406 kB / 2.683 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/6.216, allocations: 30.98 kB / 2.683 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/6.216, allocations: 384 / 2.683 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/6.216, allocations: 6.375 kB / 2.683 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/6.216, allocations: 5.094 kB / 2.683 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/6.216, allocations: 0 / 2.683 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/6.217, allocations: 347.3 kB / 2.684 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/6.217, allocations: 114.3 kB / 2.684 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/6.217, allocations: 3.781 kB / 2.684 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/6.217, allocations: 24.38 kB / 2.684 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/6.217, allocations: 11.77 kB / 2.684 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/6.217, allocations: 7.562 kB / 2.684 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.541e-05/6.217, allocations: 154.4 kB / 2.684 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/6.217, allocations: 0 / 2.684 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005919/6.218, allocations: 157.5 kB / 2.684 GB, free: 202.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/6.219, allocations: 2.266 MB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002297/6.22, allocations: 122.4 kB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/6.22, allocations: 1.25 kB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/6.22, allocations: 47.92 kB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/6.22, allocations: 103.7 kB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/6.221, allocations: 377.5 kB / 2.687 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/6.221, allocations: 0.7625 MB / 2.688 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002408/6.221, allocations: 74.38 kB / 2.688 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/6.222, allocations: 65.23 kB / 2.688 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/6.222, allocations: 0 / 2.688 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/6.253, allocations: 12.32 MB / 2.7 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/6.254, allocations: 154 kB / 2.7 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/8.451, allocations: 0 / 2.7 GB, free: 199.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)