Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009883/0.0009884, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007909/0.007909, allocations: 171.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 262.6 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9063/0.9063, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005147/0.0005146, allocations: 15.59 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1555, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.4563/0.6119, allocations: 157.2 MB / 0.8387 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00299/0.6149, allocations: 1.7 MB / 0.8404 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.6152, allocations: 10.69 kB / 0.8404 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.6157, allocations: 131.5 kB / 0.8405 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.6168, allocations: 498.9 kB / 0.841 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.6176, allocations: 379.4 kB / 0.8414 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008226/0.6185, allocations: 0.7651 MB / 0.8421 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.6187, allocations: 150.7 kB / 0.8422 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.6193, allocations: 291.3 kB / 0.8425 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.6195, allocations: 160.1 kB / 0.8427 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.6195, allocations: 8.719 kB / 0.8427 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.6205, allocations: 0.7697 MB / 0.8434 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.6206, allocations: 70.38 kB / 0.8435 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.6207, allocations: 132.5 kB / 0.8436 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.6214, allocations: 0.5158 MB / 0.8441 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6214, allocations: 0 / 0.8441 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6214, allocations: 0 / 0.8441 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.6214, allocations: 0 / 0.8441 GB, free: 4.105 MB / 0.5606 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.0008404/0.6223, allocations: 0.5506 MB / 0.8447 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.6223, allocations: 8.812 kB / 0.8447 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.6224, allocations: 45.28 kB / 0.8447 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.6227, allocations: 56.52 kB / 0.8448 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.623, allocations: 291 kB / 0.8451 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.6231, allocations: 10.72 kB / 0.8451 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.6231, allocations: 15.66 kB / 0.8451 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.6234, allocations: 198.4 kB / 0.8453 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6235, allocations: 5.125 kB / 0.8453 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.6235, allocations: 6.906 kB / 0.8453 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6235, allocations: 2.188 kB / 0.8453 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.6238, allocations: 136.7 kB / 0.8454 GB, free: 3.02 MB / 0.5606 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.0009291/0.6247, allocations: 0.7876 MB / 0.8462 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.625, allocations: 89.28 kB / 0.8463 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.6251, allocations: 89.66 kB / 0.8464 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.6254, allocations: 191.1 kB / 0.8465 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.6255, allocations: 38.5 kB / 0.8466 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.6255, allocations: 0 / 0.8466 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006223/0.6261, allocations: 234.1 kB / 0.8468 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.6261, allocations: 54.25 kB / 0.8468 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.6264, allocations: 268.9 kB / 0.8471 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.6264, allocations: 29.05 kB / 0.8471 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.6265, allocations: 146.7 kB / 0.8473 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.6266, allocations: 34.42 kB / 0.8473 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.6266, allocations: 16.66 kB / 0.8473 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6267, allocations: 338.8 kB / 0.8476 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.6269, allocations: 44.62 kB / 0.8477 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.6271, allocations: 91.55 kB / 0.8478 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.6273, allocations: 134.8 kB / 0.8479 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6273, allocations: 0 / 0.8479 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003333/0.6277, allocations: 178.1 kB / 0.8481 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.6277, allocations: 119.5 kB / 0.8482 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6277, allocations: 3.984 kB / 0.8482 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.6278, allocations: 3 kB / 0.8482 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.6279, allocations: 26.7 kB / 0.8482 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6279, allocations: 2.625 kB / 0.8482 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.6281, allocations: 23.47 kB / 0.8482 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.6281, allocations: 9.094 kB / 0.8483 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.6281, allocations: 5.5 kB / 0.8483 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002682/0.6284, allocations: 115.1 kB / 0.8484 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.6284, allocations: 2.688 kB / 0.8484 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-06/0.6284, allocations: 0 / 0.8484 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.6285, allocations: 28.11 kB / 0.8484 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6285, allocations: 6.609 kB / 0.8484 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.6287, allocations: 30.98 kB / 0.8484 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.6287, allocations: 5.094 kB / 0.8484 GB, free: 0.5352 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.6289, allocations: 215.5 kB / 0.8486 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.629, allocations: 29.5 kB / 0.8487 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.6294, allocations: 172 kB / 0.8488 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6294, allocations: 2.656 kB / 0.8488 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6294, allocations: 3.938 kB / 0.8488 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.6294, allocations: 0 / 0.8488 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008856/0.6303, allocations: 0.6075 MB / 0.8494 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6303, allocations: 2.906 kB / 0.8494 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.6304, allocations: 28.61 kB / 0.8495 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6304, allocations: 2.938 kB / 0.8495 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.6304, allocations: 3.25 kB / 0.8495 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6305, allocations: 2.5 kB / 0.8495 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6305, allocations: 8.156 kB / 0.8495 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.6309, allocations: 311.5 kB / 0.8498 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.631, allocations: 107.7 kB / 0.8499 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.631, allocations: 2.938 kB / 0.8499 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.6312, allocations: 22.86 kB / 0.8499 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.6313, allocations: 17.72 kB / 0.8499 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.6313, allocations: 5.312 kB / 0.8499 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001891/0.6315, allocations: 198.2 kB / 0.8501 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6315, allocations: 0 / 0.8501 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004315/0.6319, allocations: 89.16 kB / 0.8502 GB, free: 15.1 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008776/0.6328, allocations: 0.9188 MB / 0.8511 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.6333, allocations: 172.4 kB / 0.8513 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6333, allocations: 0 / 0.8513 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.6334, allocations: 71.27 kB / 0.8513 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008606/0.6343, allocations: 128.3 kB / 0.8515 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.637, allocations: 2.457 MB / 0.8539 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.6373, allocations: 0.7573 MB / 0.8546 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.6376, allocations: 69.05 kB / 0.8547 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.6377, allocations: 66.25 kB / 0.8547 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.6377, allocations: 0 / 0.8547 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.654, allocations: 6.53 MB / 0.8611 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.6542, allocations: 270.2 kB / 0.8614 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.462, allocations: 4 kB / 0.8614 GB, free: 7.93 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)