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.00648/0.00648, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8302/0.8302, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009666/0.0009665, allocations: 97.62 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4624, allocations: 82.29 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.87/5.332, allocations: 1.831 GB / 2.48 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/5.333, allocations: 89.03 kB / 2.48 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8419/6.174, allocations: 222.4 MB / 2.698 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.385e-06/6.174, allocations: 0 / 2.698 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.387e-05/6.174, allocations: 12 kB / 2.698 GB, free: 192.5 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.000982/6.175, allocations: 0.6023 MB / 2.698 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/6.176, allocations: 8.031 kB / 2.698 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/6.176, allocations: 46.55 kB / 2.698 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/6.176, allocations: 57.41 kB / 2.698 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/6.176, allocations: 312.9 kB / 2.699 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/6.176, allocations: 13.55 kB / 2.699 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/6.176, allocations: 12 kB / 2.699 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/6.177, allocations: 192.6 kB / 2.699 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/6.177, allocations: 7.922 kB / 2.699 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/6.177, allocations: 11.95 kB / 2.699 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/6.177, allocations: 4 kB / 2.699 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/6.177, allocations: 123.9 kB / 2.699 GB, free: 191.1 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0008804/6.178, allocations: 0.7873 MB / 2.7 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/6.178, allocations: 86.47 kB / 2.7 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/6.179, allocations: 190.2 kB / 2.7 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/6.179, allocations: 34.56 kB / 2.7 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/6.179, allocations: 0 / 2.7 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0006154/6.179, allocations: 225.4 kB / 2.7 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/6.179, allocations: 51.41 kB / 2.7 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/6.179, allocations: 238.5 kB / 2.701 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/6.179, allocations: 33.7 kB / 2.701 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/6.18, allocations: 150.3 kB / 2.701 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/6.18, allocations: 31.5 kB / 2.701 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/6.18, allocations: 7.938 kB / 2.701 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/6.18, allocations: 334.8 kB / 2.701 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/6.18, allocations: 43.97 kB / 2.701 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/6.18, allocations: 110.8 kB / 2.701 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/6.18, allocations: 47.97 kB / 2.701 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/6.18, allocations: 0 / 2.701 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002865/6.18, allocations: 165.3 kB / 2.701 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/6.18, allocations: 364 kB / 2.702 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/6.181, allocations: 3.938 kB / 2.702 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/6.181, allocations: 0 / 2.702 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/6.181, allocations: 27.98 kB / 2.702 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/6.181, allocations: 4 kB / 2.702 GB, free: 188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/6.181, allocations: 23.98 kB / 2.702 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/6.181, allocations: 7.984 kB / 2.702 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/6.181, allocations: 8.578 kB / 2.702 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002312/6.181, allocations: 115.8 kB / 2.702 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/6.181, allocations: 4.031 kB / 2.702 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-06/6.181, allocations: 4 kB / 2.702 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/6.181, allocations: 20.27 kB / 2.702 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/6.181, allocations: 7.938 kB / 2.702 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/6.181, allocations: 31.81 kB / 2.702 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/6.181, allocations: 8 kB / 2.702 GB, free: 187.7 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 () * Number of clocked 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 0.0001109/6.182, allocations: 221.1 kB / 2.702 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/6.182, allocations: 23.67 kB / 2.702 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/6.182, allocations: 175.3 kB / 2.702 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/6.182, allocations: 0 / 2.702 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/6.182, allocations: 4 kB / 2.702 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/6.182, allocations: 0 / 2.702 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/6.183, allocations: 0.5963 MB / 2.703 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/6.183, allocations: 4 kB / 2.703 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/6.183, allocations: 24.27 kB / 2.703 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/6.183, allocations: 0 / 2.703 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/6.183, allocations: 4.219 kB / 2.703 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/6.183, allocations: 15.88 kB / 2.703 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/6.183, allocations: 0 / 2.703 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/6.183, allocations: 389.1 kB / 2.703 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/6.183, allocations: 108.8 kB / 2.704 GB, free: 186 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/6.183, allocations: 4 kB / 2.704 GB, free: 186 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/6.184, allocations: 23.97 kB / 2.704 GB, free: 186 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/6.184, allocations: 15.94 kB / 2.704 GB, free: 186 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/6.184, allocations: 4 kB / 2.704 GB, free: 186 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001449/6.184, allocations: 197.9 kB / 2.704 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/6.184, allocations: 0 / 2.704 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007902/6.185, allocations: 167.9 kB / 2.704 GB, free: 185.6 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 () * Number of clocked 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.002057/6.187, allocations: 2.205 MB / 2.706 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004871/6.187, allocations: 167.8 kB / 2.706 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/6.187, allocations: 3.938 kB / 2.706 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/6.187, allocations: 72.02 kB / 2.706 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/6.188, allocations: 122.2 kB / 2.706 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/6.19, allocations: 1.772 MB / 2.708 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/6.19, allocations: 0.7599 MB / 2.709 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002386/6.191, allocations: 70.88 kB / 2.709 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/6.191, allocations: 67.42 kB / 2.709 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/6.191, allocations: 0 / 2.709 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/6.226, allocations: 20.24 MB / 2.729 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/6.226, allocations: 212 kB / 2.729 GB, free: 160 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/8.81, allocations: 7.938 kB / 2.729 GB, free: 160 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)