Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_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.0009233/0.0009234, allocations: 98.03 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.005691/0.005691, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7286/0.7286, allocations: 132.3 MB / 423.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 12.62 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3621, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2345/0.5967, allocations: 236.4 MB / 0.8146 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3436/0.9403, allocations: 13.42 MB / 0.8278 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.9421, allocations: 49.59 kB / 0.8278 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.9441, allocations: 0.8232 MB / 0.8286 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004217/0.9483, allocations: 1.694 MB / 0.8303 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.9511, allocations: 1.125 MB / 0.8314 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005008/0.9561, allocations: 4.598 MB / 0.8358 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.9574, allocations: 0.877 MB / 0.8367 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008643/0.9661, allocations: 3.828 MB / 0.8404 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.9679, allocations: 0.9416 MB / 0.8414 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.9681, allocations: 47.31 kB / 0.8414 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.9699, allocations: 0.8925 MB / 0.8423 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.9703, allocations: 411.5 kB / 0.8427 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000704/0.971, allocations: 0.6717 MB / 0.8433 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.9724, allocations: 1.521 MB / 0.8448 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9724, allocations: 0 / 0.8448 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9724, allocations: 2.875 kB / 0.8448 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.9724, allocations: 0 / 0.8448 GB, free: 1.77 MB / 0.6387 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.001752/0.9742, allocations: 1.386 MB / 0.8462 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.9742, allocations: 12.47 kB / 0.8462 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.9743, allocations: 123.6 kB / 0.8463 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005351/0.9749, allocations: 200.2 kB / 0.8465 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009503/0.9758, allocations: 0.8354 MB / 0.8473 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.9759, allocations: 121.9 kB / 0.8474 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.976, allocations: 90.31 kB / 0.8475 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.9771, allocations: 0.9257 MB / 0.8484 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.9772, allocations: 5.844 kB / 0.8484 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.9772, allocations: 36.12 kB / 0.8484 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.9772, allocations: 20.81 kB / 0.8485 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.978, allocations: 0.517 MB / 0.849 GB, free: 16.07 MB / 0.6544 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.003889/0.9819, allocations: 4.894 MB / 0.8538 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.9824, allocations: 431.2 kB / 0.8542 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.9827, allocations: 273.2 kB / 0.8544 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.9829, allocations: 102.3 kB / 0.8545 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.9829, allocations: 51.78 kB / 0.8546 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.9829, allocations: 2.906 kB / 0.8546 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001613/0.9845, allocations: 0.8033 MB / 0.8554 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/0.9848, allocations: 404 kB / 0.8557 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.9861, allocations: 1.269 MB / 0.857 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.9862, allocations: 36.17 kB / 0.857 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.9865, allocations: 0.5515 MB / 0.8576 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.9866, allocations: 106.7 kB / 0.8577 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.9867, allocations: 32.64 kB / 0.8577 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.9868, allocations: 316.8 kB / 0.858 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.987, allocations: 102 kB / 0.8581 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.9873, allocations: 347 kB / 0.8584 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.9878, allocations: 335.7 kB / 0.8587 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9878, allocations: 0 / 0.8587 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007527/0.9886, allocations: 0.5008 MB / 0.8592 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9886, allocations: 8.281 kB / 0.8592 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9886, allocations: 2.844 kB / 0.8592 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.9889, allocations: 76.09 kB / 0.8593 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.9891, allocations: 64 kB / 0.8594 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.9913, allocations: 2.926 MB / 0.8622 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007974/0.9922, allocations: 115.2 kB / 0.8623 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.9922, allocations: 24.14 kB / 0.8624 GB, free: 7.285 MB / 0.6544 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.0004751/0.9927, allocations: 270.2 kB / 0.8626 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/0.9931, allocations: 144.3 kB / 0.8628 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.9933, allocations: 130.2 kB / 0.8629 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.9933, allocations: 5.125 kB / 0.8629 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.9933, allocations: 6.062 kB / 0.8629 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.9934, allocations: 6.094 kB / 0.8629 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.9966, allocations: 2.525 MB / 0.8654 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9966, allocations: 5.062 kB / 0.8654 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.9968, allocations: 52.78 kB / 0.8654 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.997, allocations: 78.94 kB / 0.8655 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.997, allocations: 13.03 kB / 0.8655 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.9991, allocations: 2.929 MB / 0.8684 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.9991, allocations: 8.906 kB / 0.8684 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/1, allocations: 0.6828 MB / 0.869 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/1, allocations: 249.7 kB / 0.8693 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/1, allocations: 15.31 kB / 0.8693 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/1.001, allocations: 76.94 kB / 0.8694 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/1.001, allocations: 36.77 kB / 0.8694 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/1.001, allocations: 21.45 kB / 0.8694 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009577/1.002, allocations: 0.8768 MB / 0.8703 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 7.938 kB / 0.8703 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001043/1.003, allocations: 267 kB / 0.8705 GB, free: 2.145 MB / 0.6544 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.001383/1.005, allocations: 1.344 MB / 0.8719 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008751/1.006, allocations: 0.5227 MB / 0.8724 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.006, allocations: 0 / 0.8724 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005196/1.006, allocations: 407.3 kB / 0.8728 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/1.01, allocations: 0.7846 MB / 0.8735 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.022, allocations: 9.337 MB / 0.8826 GB, free: 12.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/1.022, allocations: 1.133 MB / 0.8837 GB, free: 11.88 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009696/1.023, allocations: 247 kB / 0.884 GB, free: 11.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/1.024, allocations: 449.6 kB / 0.8844 GB, free: 11.82 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/1.024, allocations: 0 / 0.8844 GB, free: 11.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/1.275, allocations: 35.6 MB / 0.9192 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003495/1.275, allocations: 282.6 kB / 0.9194 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.922, allocations: 4 kB / 0.9194 GB, free: 6.531 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)