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.000987/0.000987, 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.001003/0.001003, allocations: 196.6 kB / 16.26 MB, free: 6.617 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6888/0.6888, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 63.94 kB / 0.5014 GB, free: 9.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1342, allocations: 80.2 MB / 0.5797 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.4097/0.5439, allocations: 239 MB / 0.813 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01461/0.5586, allocations: 13.44 MB / 0.8262 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.5603, allocations: 55.62 kB / 0.8262 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.5623, allocations: 0.8588 MB / 0.8271 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003354/0.5657, allocations: 1.676 MB / 0.8287 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.568, allocations: 1.13 MB / 0.8298 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.5709, allocations: 3.267 MB / 0.833 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009922/0.5719, allocations: 1.008 MB / 0.834 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007131/0.579, allocations: 4.029 MB / 0.8379 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008867/0.5799, allocations: 0.9529 MB / 0.8388 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.58, allocations: 80 kB / 0.8389 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.5811, allocations: 0.7441 MB / 0.8396 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.5814, allocations: 450.6 kB / 0.8401 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.582, allocations: 0.6839 MB / 0.8407 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.5833, allocations: 1.592 MB / 0.8423 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.5833, allocations: 0 / 0.8423 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5833, allocations: 0 / 0.8423 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.5833, allocations: 3.984 kB / 0.8423 GB, free: 6.082 MB / 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.001789/0.5851, allocations: 1.624 MB / 0.8439 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.5852, allocations: 8.031 kB / 0.8439 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.5853, allocations: 126.7 kB / 0.844 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005606/0.5859, allocations: 206 kB / 0.8442 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009717/0.5868, allocations: 0.8387 MB / 0.845 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.587, allocations: 121.4 kB / 0.8451 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.5871, allocations: 84 kB / 0.8452 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.5882, allocations: 0.9232 MB / 0.8461 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.5883, allocations: 0 / 0.8461 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.5883, allocations: 32 kB / 0.8462 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.5883, allocations: 24 kB / 0.8462 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/0.5891, allocations: 0.51 MB / 0.8467 GB, free: 1.375 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.003671/0.5928, allocations: 4.868 MB / 0.8514 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.5933, allocations: 420.6 kB / 0.8518 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.5936, allocations: 268 kB / 0.8521 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.5937, allocations: 101 kB / 0.8522 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.5938, allocations: 54.5 kB / 0.8522 GB, free: 11.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.5938, allocations: 0 / 0.8522 GB, free: 11.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001484/0.5953, allocations: 0.782 MB / 0.853 GB, free: 10.34 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5954, allocations: 397.5 kB / 0.8534 GB, free: 9.863 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.5966, allocations: 1.271 MB / 0.8546 GB, free: 8.582 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.5967, allocations: 37.7 kB / 0.8547 GB, free: 8.539 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.5971, allocations: 0.5467 MB / 0.8552 GB, free: 7.984 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.5972, allocations: 118.5 kB / 0.8553 GB, free: 7.867 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.5973, allocations: 85.55 kB / 0.8554 GB, free: 7.777 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.5974, allocations: 325.9 kB / 0.8557 GB, free: 7.453 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.5976, allocations: 87.92 kB / 0.8558 GB, free: 7.367 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.5979, allocations: 340 kB / 0.8561 GB, free: 6.941 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.5983, allocations: 328.5 kB / 0.8564 GB, free: 6.574 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5983, allocations: 4 kB / 0.8564 GB, free: 6.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006931/0.599, allocations: 489.5 kB / 0.8569 GB, free: 6.078 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5991, allocations: 8 kB / 0.8569 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5991, allocations: 4 kB / 0.8569 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.5993, allocations: 69.67 kB / 0.857 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.5995, allocations: 59.91 kB / 0.857 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.6015, allocations: 3.265 MB / 0.8602 GB, free: 2.402 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.6021, allocations: 111.2 kB / 0.8603 GB, free: 2.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.6022, allocations: 23.98 kB / 0.8603 GB, free: 2.27 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.0002806/0.6025, allocations: 273.7 kB / 0.8606 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.6028, allocations: 138.3 kB / 0.8607 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.6029, allocations: 131.9 kB / 0.8609 GB, free: 1.715 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.603, allocations: 8 kB / 0.8609 GB, free: 1.707 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.603, allocations: 8 kB / 0.8609 GB, free: 1.699 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.603, allocations: 4 kB / 0.8609 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1898/0.7928, allocations: 2.508 MB / 0.8633 GB, free: 227.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7928, allocations: 7.312 kB / 0.8633 GB, free: 227.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.793, allocations: 46.69 kB / 0.8634 GB, free: 227.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.7931, allocations: 79.36 kB / 0.8635 GB, free: 227.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.7932, allocations: 13.72 kB / 0.8635 GB, free: 227.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.7946, allocations: 3.263 MB / 0.8667 GB, free: 224.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7947, allocations: 13.38 kB / 0.8667 GB, free: 224.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.7954, allocations: 0.6685 MB / 0.8673 GB, free: 224.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.7957, allocations: 250.9 kB / 0.8676 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.7958, allocations: 15.89 kB / 0.8676 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.7965, allocations: 59.47 kB / 0.8676 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.7966, allocations: 48.8 kB / 0.8677 GB, free: 224.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.7966, allocations: 13.62 kB / 0.8677 GB, free: 224.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008207/0.7974, allocations: 0.8815 MB / 0.8686 GB, free: 224.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7974, allocations: 0 / 0.8686 GB, free: 224.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000908/0.7983, allocations: 270.1 kB / 0.8688 GB, free: 224.2 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.0009527/0.7993, allocations: 1.324 MB / 0.8701 GB, free: 223.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006857/0.8, allocations: 0.5158 MB / 0.8706 GB, free: 222.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8, allocations: 2.938 kB / 0.8706 GB, free: 222.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.8004, allocations: 409.7 kB / 0.871 GB, free: 222.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/0.8032, allocations: 0.7586 MB / 0.8717 GB, free: 222.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/0.8112, allocations: 9.288 MB / 0.8808 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.8116, allocations: 1.136 MB / 0.8819 GB, free: 216.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006274/0.8122, allocations: 239.9 kB / 0.8821 GB, free: 216.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.8125, allocations: 447 kB / 0.8826 GB, free: 216.1 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.8125, allocations: 0 / 0.8826 GB, free: 216.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.945/3.757, allocations: 33.68 MB / 0.9155 GB, free: 209.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/3.758, allocations: 279.6 kB / 0.9157 GB, free: 208.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/6.265, allocations: 1.641 kB / 0.9157 GB, free: 208.9 MB / 0.67 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)