Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.001024/0.001025, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9053/0.9053, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 60.69 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1464, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.4763/0.6227, allocations: 241.9 MB / 0.8207 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.6392, allocations: 13.53 MB / 0.8339 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.6412, allocations: 59.62 kB / 0.8339 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.6438, allocations: 0.9782 MB / 0.8349 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.6483, allocations: 1.781 MB / 0.8366 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.6512, allocations: 1.231 MB / 0.8378 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004187/0.6554, allocations: 3.256 MB / 0.841 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.6572, allocations: 1.051 MB / 0.842 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009933/0.6672, allocations: 4.109 MB / 0.8461 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.6689, allocations: 0.8984 MB / 0.8469 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003593/0.6693, allocations: 76 kB / 0.847 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.6716, allocations: 0.6974 MB / 0.8477 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007018/0.6723, allocations: 446.6 kB / 0.8481 GB, free: 14.58 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.6736, allocations: 0.6839 MB / 0.8488 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.6761, allocations: 1.514 MB / 0.8503 GB, free: 12.38 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.6762, allocations: 0 / 0.8503 GB, free: 12.38 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6762, allocations: 0 / 0.8503 GB, free: 12.38 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.266e-05/0.6763, allocations: 0 / 0.8503 GB, free: 12.38 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002822/0.6791, allocations: 1.622 MB / 0.8518 GB, free: 10.7 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.6792, allocations: 12.03 kB / 0.8519 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.6794, allocations: 126.7 kB / 0.852 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.6802, allocations: 204.2 kB / 0.8522 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.6817, allocations: 0.8426 MB / 0.853 GB, free: 9.457 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.6818, allocations: 121.4 kB / 0.8531 GB, free: 9.328 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.6819, allocations: 88 kB / 0.8532 GB, free: 9.242 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.6834, allocations: 0.9181 MB / 0.8541 GB, free: 8.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.6834, allocations: 0 / 0.8541 GB, free: 8.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.6835, allocations: 36 kB / 0.8541 GB, free: 8.195 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.6835, allocations: 20 kB / 0.8541 GB, free: 8.176 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008654/0.6844, allocations: 0.5188 MB / 0.8547 GB, free: 7.66 MB / 0.67 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.004801/0.6892, allocations: 4.88 MB / 0.8594 GB, free: 2.465 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.6898, allocations: 416.6 kB / 0.8598 GB, free: 1.93 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.6902, allocations: 265 kB / 0.8601 GB, free: 1.629 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.6904, allocations: 101 kB / 0.8602 GB, free: 1.512 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.6905, allocations: 62.05 kB / 0.8602 GB, free: 1.445 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.6905, allocations: 0 / 0.8602 GB, free: 1.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001763/0.6923, allocations: 0.7779 MB / 0.861 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.6924, allocations: 405.8 kB / 0.8614 GB, free: 132 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2345/0.9269, allocations: 1.266 MB / 0.8626 GB, free: 225.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.374e-05/0.9271, allocations: 38.61 kB / 0.8626 GB, free: 225.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.9274, allocations: 0.55 MB / 0.8632 GB, free: 225.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.9275, allocations: 101.5 kB / 0.8633 GB, free: 225.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.9276, allocations: 84.78 kB / 0.8634 GB, free: 225.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.9277, allocations: 319.2 kB / 0.8637 GB, free: 224.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.9279, allocations: 90.89 kB / 0.8637 GB, free: 224.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.9282, allocations: 337.7 kB / 0.8641 GB, free: 224.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.9286, allocations: 327.8 kB / 0.8644 GB, free: 224.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.9286, allocations: 0 / 0.8644 GB, free: 224.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007461/0.9294, allocations: 497.5 kB / 0.8649 GB, free: 224.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.9294, allocations: 12.19 kB / 0.8649 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9294, allocations: 6.906 kB / 0.8649 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.9297, allocations: 73.72 kB / 0.8649 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.9299, allocations: 55.25 kB / 0.865 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.9316, allocations: 3.259 MB / 0.8682 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.9323, allocations: 100 kB / 0.8683 GB, free: 221.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.9323, allocations: 15.81 kB / 0.8683 GB, free: 221.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002936/0.9326, allocations: 285.8 kB / 0.8686 GB, free: 221 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.933, allocations: 136 kB / 0.8687 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.9331, allocations: 129.3 kB / 0.8688 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9331, allocations: 5.875 kB / 0.8688 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9331, allocations: 5.531 kB / 0.8688 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9331, allocations: 6.547 kB / 0.8688 GB, free: 220.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.9355, allocations: 2.515 MB / 0.8713 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9355, allocations: 7.938 kB / 0.8713 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.9356, allocations: 44.98 kB / 0.8713 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.9358, allocations: 78.45 kB / 0.8714 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.9358, allocations: 16.19 kB / 0.8714 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.9373, allocations: 3.261 MB / 0.8746 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.9373, allocations: 10.98 kB / 0.8746 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.9381, allocations: 0.6731 MB / 0.8753 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.9385, allocations: 244.6 kB / 0.8755 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.9388, allocations: 16.75 kB / 0.8755 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.9399, allocations: 43.31 kB / 0.8756 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.94, allocations: 44.62 kB / 0.8756 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.94, allocations: 16.97 kB / 0.8756 GB, free: 215.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0014/0.9414, allocations: 0.8812 MB / 0.8765 GB, free: 214.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9415, allocations: 0 / 0.8765 GB, free: 214.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001473/0.9429, allocations: 254.9 kB / 0.8767 GB, free: 214.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.9445, allocations: 1.324 MB / 0.878 GB, free: 213.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.9456, allocations: 0.5246 MB / 0.8785 GB, free: 213.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9456, allocations: 0 / 0.8785 GB, free: 213.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.9462, allocations: 413.2 kB / 0.8789 GB, free: 213.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004902/0.9511, allocations: 0.758 MB / 0.8797 GB, free: 213 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.9652, allocations: 9.023 MB / 0.8885 GB, free: 207.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/0.966, allocations: 1.135 MB / 0.8896 GB, free: 207.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001241/0.9673, allocations: 238.2 kB / 0.8898 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/0.9678, allocations: 439.8 kB / 0.8902 GB, free: 206.8 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/0.9679, allocations: 0 / 0.8902 GB, free: 206.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07371/1.042, allocations: 33.97 MB / 0.9234 GB, free: 198.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.805/10.85, allocations: 16.09 kB / 0.9234 GB, free: 198.9 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)