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.0008516/0.0008518, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001193/0.001194, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003647, allocations: 13.69 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4685, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2219/0.6905, allocations: 220.6 MB / 0.7986 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.7063, allocations: 12.65 MB / 0.811 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.708, allocations: 51.62 kB / 0.811 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.71, allocations: 0.648 MB / 0.8116 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.7136, allocations: 1.42 MB / 0.813 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.7164, allocations: 1.045 MB / 0.814 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.36/1.076, allocations: 3.878 MB / 0.8178 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/1.079, allocations: 0.7872 MB / 0.8186 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008756/1.087, allocations: 3.081 MB / 0.8216 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/1.09, allocations: 0.8964 MB / 0.8225 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003248/1.09, allocations: 46.22 kB / 0.8225 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/1.092, allocations: 369.2 kB / 0.8229 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000555/1.092, allocations: 407.9 kB / 0.8233 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/1.093, allocations: 287.7 kB / 0.8235 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/1.094, allocations: 1.063 MB / 0.8246 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.094, allocations: 0 / 0.8246 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.657e-06/1.094, allocations: 0 / 0.8246 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.882e-05/1.094, allocations: 0 / 0.8246 GB, free: 9.547 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.003061/1.097, allocations: 1.397 MB / 0.8259 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.098, allocations: 13.02 kB / 0.826 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/1.098, allocations: 125.5 kB / 0.8261 GB, free: 24.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009007/1.099, allocations: 199.3 kB / 0.8263 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.1, allocations: 0.7828 MB / 0.827 GB, free: 24.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.1, allocations: 126.5 kB / 0.8272 GB, free: 24.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.1, allocations: 85.28 kB / 0.8272 GB, free: 24.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/1.102, allocations: 0.9195 MB / 0.8281 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/1.102, allocations: 9.188 kB / 0.8281 GB, free: 23.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.55e-05/1.102, allocations: 34.09 kB / 0.8282 GB, free: 23.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/1.102, allocations: 22.56 kB / 0.8282 GB, free: 23.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000911/1.103, allocations: 0.5083 MB / 0.8287 GB, free: 23.89 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.005716/1.109, allocations: 4.897 MB / 0.8335 GB, free: 20.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/1.109, allocations: 420.3 kB / 0.8339 GB, free: 20.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/1.11, allocations: 270.9 kB / 0.8341 GB, free: 19.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.11, allocations: 102 kB / 0.8342 GB, free: 19.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/1.11, allocations: 55.19 kB / 0.8343 GB, free: 19.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/1.11, allocations: 1.812 kB / 0.8343 GB, free: 19.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.002015/1.112, allocations: 0.8003 MB / 0.8351 GB, free: 19.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/1.112, allocations: 397 kB / 0.8354 GB, free: 19.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/1.114, allocations: 1.263 MB / 0.8367 GB, free: 18.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/1.114, allocations: 38.02 kB / 0.8367 GB, free: 18.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/1.114, allocations: 0.5593 MB / 0.8373 GB, free: 18.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-05/1.114, allocations: 102.1 kB / 0.8374 GB, free: 18.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/1.114, allocations: 7.281 kB / 0.8374 GB, free: 18.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.115, allocations: 315.5 kB / 0.8377 GB, free: 18.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.115, allocations: 95.23 kB / 0.8378 GB, free: 18.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/1.115, allocations: 339.5 kB / 0.8381 GB, free: 18.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/1.115, allocations: 141.7 kB / 0.8382 GB, free: 18.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.115, allocations: 4.219 kB / 0.8382 GB, free: 18.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009487/1.116, allocations: 0.4927 MB / 0.8387 GB, free: 17.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.116, allocations: 6.062 kB / 0.8387 GB, free: 17.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.116, allocations: 4.156 kB / 0.8387 GB, free: 17.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/1.117, allocations: 78.11 kB / 0.8388 GB, free: 17.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/1.117, allocations: 62.41 kB / 0.8388 GB, free: 17.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/1.119, allocations: 3.018 MB / 0.8418 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.12, allocations: 120.8 kB / 0.8419 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/1.12, allocations: 23.58 kB / 0.8419 GB, free: 15.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004886/1.121, allocations: 265.8 kB / 0.8422 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/1.121, allocations: 138.4 kB / 0.8423 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/1.121, allocations: 128.8 kB / 0.8424 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/1.121, allocations: 17.86 kB / 0.8425 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.121, allocations: 4.219 kB / 0.8425 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.121, allocations: 4 kB / 0.8425 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/1.124, allocations: 2.54 MB / 0.8449 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/1.124, allocations: 2.906 kB / 0.8449 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/1.125, allocations: 55.86 kB / 0.845 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/1.125, allocations: 73.92 kB / 0.8451 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/1.125, allocations: 8.5 kB / 0.8451 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/1.127, allocations: 2.922 MB / 0.8479 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.127, allocations: 12.52 kB / 0.8479 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/1.128, allocations: 0.6786 MB / 0.8486 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/1.128, allocations: 252.8 kB / 0.8489 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/1.128, allocations: 14.28 kB / 0.8489 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/1.129, allocations: 71.39 kB / 0.8489 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/1.129, allocations: 40.58 kB / 0.849 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/1.129, allocations: 21.83 kB / 0.849 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009448/1.13, allocations: 0.8638 MB / 0.8498 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/1.13, allocations: 4 kB / 0.8498 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001055/1.131, allocations: 266.1 kB / 0.8501 GB, free: 9.973 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/1.132, allocations: 1.335 MB / 0.8514 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000825/1.133, allocations: 0.5123 MB / 0.8519 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.133, allocations: 0 / 0.8519 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/1.133, allocations: 414.8 kB / 0.8523 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/1.137, allocations: 0.7553 MB / 0.853 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/1.145, allocations: 6.533 MB / 0.8594 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/1.145, allocations: 1.139 MB / 0.8605 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009673/1.146, allocations: 244.9 kB / 0.8608 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/1.147, allocations: 438.5 kB / 0.8612 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of SimCode: time 1.893e-06/1.147, allocations: 0 / 0.8612 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/1.2, allocations: 32.85 MB / 0.8933 GB, free: 11.46 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.2, allocations: 264 kB / 0.8935 GB, free: 11.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.682, allocations: 0 / 0.8935 GB, free: 11.1 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/linux/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) Environment - environmentSimulation: