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.001719/0.001719, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002019/0.002019, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9051/0.9051, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.77 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5394/0.6795, allocations: 239 MB / 0.8173 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.697, allocations: 13.45 MB / 0.8305 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.699, allocations: 59.5 kB / 0.8305 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.7017, allocations: 0.8549 MB / 0.8314 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.7064, allocations: 1.672 MB / 0.833 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.7096, allocations: 1.128 MB / 0.8341 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004098/0.7137, allocations: 3.271 MB / 0.8373 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.7151, allocations: 1 MB / 0.8383 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009508/0.7246, allocations: 4.021 MB / 0.8422 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.7262, allocations: 0.9645 MB / 0.8431 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003108/0.7266, allocations: 76 kB / 0.8432 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.7283, allocations: 0.7441 MB / 0.8439 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005604/0.7289, allocations: 442.6 kB / 0.8444 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.73, allocations: 0.6839 MB / 0.845 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.7322, allocations: 1.596 MB / 0.8466 GB, free: 80 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.7322, allocations: 0 / 0.8466 GB, free: 80 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7322, allocations: 0 / 0.8466 GB, free: 80 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.748e-05/0.7323, allocations: 0 / 0.8466 GB, free: 80 kB / 0.6544 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.002851/0.7351, allocations: 1.626 MB / 0.8482 GB, free: 14.4 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.7352, allocations: 12.03 kB / 0.8482 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.7354, allocations: 131.5 kB / 0.8483 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007933/0.7362, allocations: 210 kB / 0.8485 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.7377, allocations: 0.8231 MB / 0.8493 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.7378, allocations: 129.3 kB / 0.8494 GB, free: 13.03 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.7379, allocations: 80 kB / 0.8495 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.7394, allocations: 0.9143 MB / 0.8504 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.7394, allocations: 11.94 kB / 0.8504 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.7395, allocations: 32 kB / 0.8505 GB, free: 11.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.7395, allocations: 23.98 kB / 0.8505 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.7407, allocations: 0.5132 MB / 0.851 GB, free: 11.37 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.005867/0.7466, allocations: 4.868 MB / 0.8557 GB, free: 6.184 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000766/0.7474, allocations: 416.7 kB / 0.8561 GB, free: 5.648 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.7478, allocations: 268.4 kB / 0.8564 GB, free: 5.344 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.7481, allocations: 93.11 kB / 0.8565 GB, free: 5.234 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.141e-05/0.7481, allocations: 62.42 kB / 0.8565 GB, free: 5.164 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 3.316e-06/0.7481, allocations: 0 / 0.8565 GB, free: 5.164 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001974/0.7501, allocations: 0.7824 MB / 0.8573 GB, free: 4.332 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.7503, allocations: 401.8 kB / 0.8577 GB, free: 3.848 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.7524, allocations: 1.271 MB / 0.8589 GB, free: 2.566 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.7525, allocations: 37.64 kB / 0.859 GB, free: 2.523 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005402/0.753, allocations: 0.5468 MB / 0.8595 GB, free: 1.969 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.639e-05/0.7531, allocations: 110.6 kB / 0.8596 GB, free: 1.859 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.7533, allocations: 81.59 kB / 0.8597 GB, free: 1.773 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.7534, allocations: 325.9 kB / 0.86 GB, free: 1.449 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.7536, allocations: 91.92 kB / 0.8601 GB, free: 1.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.7541, allocations: 337 kB / 0.8604 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.7546, allocations: 324.6 kB / 0.8607 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7546, allocations: 0 / 0.8607 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001019/0.7556, allocations: 0.4897 MB / 0.8612 GB, free: 72 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7557, allocations: 4 kB / 0.8612 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7557, allocations: 4.562 kB / 0.8612 GB, free: 64 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2257/0.9813, allocations: 77.69 kB / 0.8613 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.9816, allocations: 52.98 kB / 0.8613 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.9835, allocations: 3.274 MB / 0.8645 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/0.9844, allocations: 108.6 kB / 0.8646 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.9845, allocations: 22.03 kB / 0.8646 GB, free: 221.5 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.0004162/0.9849, allocations: 271.7 kB / 0.8649 GB, free: 221.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.9853, allocations: 137.7 kB / 0.865 GB, free: 221.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.9855, allocations: 129.4 kB / 0.8652 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9855, allocations: 10.78 kB / 0.8652 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.9855, allocations: 5.875 kB / 0.8652 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.9855, allocations: 3.469 kB / 0.8652 GB, free: 221.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.9879, allocations: 2.519 MB / 0.8676 GB, free: 219.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.9879, allocations: 5.5 kB / 0.8676 GB, free: 219.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.988, allocations: 53.14 kB / 0.8677 GB, free: 219.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.9882, allocations: 74.44 kB / 0.8678 GB, free: 219.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.9882, allocations: 8.094 kB / 0.8678 GB, free: 219.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.9897, allocations: 3.262 MB / 0.871 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.9897, allocations: 13.62 kB / 0.871 GB, free: 216.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.9903, allocations: 0.6743 MB / 0.8716 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.9906, allocations: 253.1 kB / 0.8719 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.9907, allocations: 18.17 kB / 0.8719 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.9913, allocations: 54.34 kB / 0.8719 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.9914, allocations: 40.91 kB / 0.872 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.9914, allocations: 18.83 kB / 0.872 GB, free: 216.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007637/0.9922, allocations: 0.8777 MB / 0.8728 GB, free: 216 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9922, allocations: 0 / 0.8728 GB, free: 216 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009114/0.9931, allocations: 273.6 kB / 0.8731 GB, free: 215.9 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.001017/0.9942, allocations: 1.325 MB / 0.8744 GB, free: 214.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006948/0.9949, allocations: 0.5234 MB / 0.8749 GB, free: 214.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.9949, allocations: 3.906 kB / 0.8749 GB, free: 214.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.9953, allocations: 412.2 kB / 0.8753 GB, free: 214.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.9981, allocations: 0.7559 MB / 0.876 GB, free: 214.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009569/1.008, allocations: 9.289 MB / 0.8851 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/1.008, allocations: 1.144 MB / 0.8862 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009167/1.009, allocations: 244.6 kB / 0.8865 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/1.01, allocations: 441.3 kB / 0.8869 GB, free: 207.7 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/1.01, allocations: 4 kB / 0.8869 GB, free: 207.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3193/1.329, allocations: 33.68 MB / 0.9198 GB, free: 200.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/1.329, allocations: 296.3 kB / 0.9201 GB, free: 200.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/4.575, allocations: 4 kB / 0.9201 GB, free: 200.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)