Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9932/0.9932, allocations: 135.3 MB / 426.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003032, allocations: 12.62 kB / 0.5071 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 82.31 MB / 0.5875 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.4802/0.6328, allocations: 146.6 MB / 0.7307 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.6356, allocations: 1.605 MB / 0.7322 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.6358, allocations: 13.62 kB / 0.7322 GB, free: 2.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.6363, allocations: 112.2 kB / 0.7323 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.6373, allocations: 382.5 kB / 0.7327 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.6384, allocations: 353 kB / 0.733 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008517/0.6392, allocations: 0.6469 MB / 0.7337 GB, free: 1.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.6395, allocations: 137.2 kB / 0.7338 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.6401, allocations: 271.3 kB / 0.7341 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.6403, allocations: 146 kB / 0.7342 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.6404, allocations: 7.094 kB / 0.7342 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.6414, allocations: 0.5275 MB / 0.7347 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.6415, allocations: 72.33 kB / 0.7348 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.6416, allocations: 69.33 kB / 0.7349 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.642, allocations: 332.1 kB / 0.7352 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6421, allocations: 0 / 0.7352 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.096e-06/0.6421, allocations: 3.938 kB / 0.7352 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.6421, allocations: 7.938 kB / 0.7352 GB, free: 0.9414 MB / 0.545 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.0006989/0.6428, allocations: 0.5407 MB / 0.7357 GB, free: 476 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6428, allocations: 9.688 kB / 0.7357 GB, free: 476 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.6429, allocations: 47.42 kB / 0.7358 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.6432, allocations: 53.33 kB / 0.7358 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.6436, allocations: 282.1 kB / 0.7361 GB, free: 156 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6436, allocations: 14.66 kB / 0.7361 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.6436, allocations: 14.34 kB / 0.7361 GB, free: 144 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.644, allocations: 188.7 kB / 0.7363 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.644, allocations: 3.938 kB / 0.7363 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.6441, allocations: 8.188 kB / 0.7363 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6441, allocations: 5.812 kB / 0.7363 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.6444, allocations: 138.9 kB / 0.7364 GB, free: 0 / 0.545 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.0009902/0.6454, allocations: 0.7897 MB / 0.7372 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.6456, allocations: 85.95 kB / 0.7373 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.6458, allocations: 90.22 kB / 0.7374 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.6461, allocations: 194.2 kB / 0.7376 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.6461, allocations: 34.56 kB / 0.7376 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.6461, allocations: 0 / 0.7376 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006053/0.6467, allocations: 230.9 kB / 0.7378 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.6468, allocations: 52.78 kB / 0.7379 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.6471, allocations: 269.6 kB / 0.7381 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.6471, allocations: 27.08 kB / 0.7382 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.6473, allocations: 143.3 kB / 0.7383 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.6473, allocations: 37.98 kB / 0.7383 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.6473, allocations: 0 / 0.7383 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6475, allocations: 339.4 kB / 0.7387 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.6477, allocations: 43.84 kB / 0.7387 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.6478, allocations: 101.3 kB / 0.7388 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.648, allocations: 55.56 kB / 0.7388 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.648, allocations: 0 / 0.7388 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000352/0.6484, allocations: 169 kB / 0.739 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.6485, allocations: 120 kB / 0.7391 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6485, allocations: 1 kB / 0.7391 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6485, allocations: 1.062 kB / 0.7391 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.6486, allocations: 29.11 kB / 0.7392 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6486, allocations: 1.719 kB / 0.7392 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.6488, allocations: 26.53 kB / 0.7392 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.6489, allocations: 7.938 kB / 0.7392 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.6489, allocations: 5.719 kB / 0.7392 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002778/0.6492, allocations: 114 kB / 0.7393 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.6492, allocations: 2 kB / 0.7393 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.6492, allocations: 1.375 kB / 0.7393 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.6493, allocations: 31.22 kB / 0.7393 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.6493, allocations: 5.172 kB / 0.7393 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.6495, allocations: 25.55 kB / 0.7394 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.6495, allocations: 9.625 kB / 0.7394 GB, free: 13.9 MB / 0.5606 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.0001366/0.6496, allocations: 212.7 kB / 0.7396 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.6497, allocations: 29.73 kB / 0.7396 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.6501, allocations: 168.6 kB / 0.7398 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6501, allocations: 5.344 kB / 0.7398 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6501, allocations: 4.781 kB / 0.7398 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.6501, allocations: 0 / 0.7398 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.6509, allocations: 0.6009 MB / 0.7404 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.6509, allocations: 5.656 kB / 0.7404 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.651, allocations: 25.88 kB / 0.7404 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.651, allocations: 2.75 kB / 0.7404 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.6511, allocations: 2.75 kB / 0.7404 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6511, allocations: 2.75 kB / 0.7404 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.6511, allocations: 14.88 kB / 0.7404 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.6514, allocations: 305.4 kB / 0.7407 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.6515, allocations: 114.5 kB / 0.7408 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.6516, allocations: 6.281 kB / 0.7408 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.6518, allocations: 24.23 kB / 0.7408 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.6518, allocations: 16.67 kB / 0.7409 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.6518, allocations: 2.75 kB / 0.7409 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001764/0.652, allocations: 193.8 kB / 0.741 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.652, allocations: 0.625 kB / 0.741 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004594/0.6525, allocations: 89.97 kB / 0.7411 GB, free: 12.64 MB / 0.5606 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.0008935/0.6534, allocations: 0.9032 MB / 0.742 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.6538, allocations: 179.1 kB / 0.7422 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6538, allocations: 0 / 0.7422 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.654, allocations: 72.47 kB / 0.7423 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/0.6547, allocations: 131.9 kB / 0.7424 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.6566, allocations: 1.332 MB / 0.7437 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.6569, allocations: 0.7544 MB / 0.7444 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002173/0.6572, allocations: 68.03 kB / 0.7445 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.6573, allocations: 73.88 kB / 0.7446 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6573, allocations: 0 / 0.7446 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.675, allocations: 6.535 MB / 0.7509 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.6752, allocations: 222.8 kB / 0.7511 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.637, allocations: 0 / 0.7511 GB, free: 5.09 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: