Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IBPSA_latest_IBPSA_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.001636/0.001636, allocations: 104.6 kB / 16.4 MB, free: 6.492 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.001834/0.001834, allocations: 193.8 kB / 17.34 MB, free: 5.766 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7568/0.7568, allocations: 122.8 MB / 414 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65 kB / 0.568 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 77.91 MB / 0.6441 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5732/0.7333, allocations: 241.9 MB / 0.8803 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.7518, allocations: 13.53 MB / 0.8935 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.7546, allocations: 59.62 kB / 0.8936 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.758, allocations: 1.017 MB / 0.8946 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00581/0.7638, allocations: 1.85 MB / 0.8964 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.7673, allocations: 1.253 MB / 0.8976 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.7726, allocations: 3.261 MB / 0.9008 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.7743, allocations: 1.055 MB / 0.9018 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009807/0.7841, allocations: 4.258 MB / 0.906 GB, free: 15.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.7858, allocations: 0.8944 MB / 0.9068 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.7861, allocations: 80 kB / 0.9069 GB, free: 14.65 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.7876, allocations: 0.6975 MB / 0.9076 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004348/0.7881, allocations: 442.6 kB / 0.908 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.7889, allocations: 0.6878 MB / 0.9087 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.7911, allocations: 1.521 MB / 0.9102 GB, free: 11.3 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7912, allocations: 8 kB / 0.9102 GB, free: 11.29 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7912, allocations: 0 / 0.9102 GB, free: 11.29 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.22e-05/0.7912, allocations: 0 / 0.9102 GB, free: 11.29 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.00228/0.7935, allocations: 1.665 MB / 0.9118 GB, free: 9.57 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.7935, allocations: 12.56 kB / 0.9118 GB, free: 9.559 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.7937, allocations: 126.7 kB / 0.9119 GB, free: 9.426 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.7944, allocations: 210.9 kB / 0.9121 GB, free: 9.219 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.796, allocations: 0.91 MB / 0.913 GB, free: 8.254 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.7961, allocations: 125.4 kB / 0.9132 GB, free: 8.121 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.7962, allocations: 84 kB / 0.9132 GB, free: 8.039 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.7977, allocations: 0.9182 MB / 0.9141 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7977, allocations: 3.938 kB / 0.9141 GB, free: 7.027 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.7978, allocations: 36 kB / 0.9142 GB, free: 6.992 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.7978, allocations: 20 kB / 0.9142 GB, free: 6.973 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008684/0.7987, allocations: 0.5047 MB / 0.9147 GB, free: 6.465 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.004657/0.8034, allocations: 4.873 MB / 0.9194 GB, free: 1.285 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.8039, allocations: 416.6 kB / 0.9198 GB, free: 0.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.8043, allocations: 261.6 kB / 0.9201 GB, free: 464 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.8045, allocations: 109 kB / 0.9202 GB, free: 336 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.8045, allocations: 59.36 kB / 0.9202 GB, free: 268 kB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.8045, allocations: 0 / 0.9202 GB, free: 268 kB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001831/0.8064, allocations: 0.7826 MB / 0.921 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.8065, allocations: 393.7 kB / 0.9214 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.808, allocations: 1.279 MB / 0.9226 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.8081, allocations: 33.7 kB / 0.9227 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/0.8086, allocations: 0.5538 MB / 0.9232 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.8086, allocations: 115 kB / 0.9233 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.8088, allocations: 85.64 kB / 0.9234 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8089, allocations: 317.9 kB / 0.9237 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.8091, allocations: 95.69 kB / 0.9238 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.8095, allocations: 342.4 kB / 0.9241 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.81, allocations: 328.5 kB / 0.9244 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.81, allocations: 0 / 0.9244 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000859/0.8109, allocations: 0.4983 MB / 0.9249 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.8109, allocations: 4 kB / 0.9249 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.811, allocations: 4 kB / 0.9249 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.8113, allocations: 69.67 kB / 0.925 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.8115, allocations: 61.03 kB / 0.925 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.8139, allocations: 3.271 MB / 0.9282 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.8147, allocations: 87.47 kB / 0.9283 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.8147, allocations: 20 kB / 0.9283 GB, free: 7.352 MB / 0.6856 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.0003657/0.8151, allocations: 277.6 kB / 0.9286 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.8155, allocations: 151.1 kB / 0.9288 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.8157, allocations: 128 kB / 0.9289 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.8157, allocations: 7.984 kB / 0.9289 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8157, allocations: 7.938 kB / 0.9289 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8157, allocations: 4 kB / 0.9289 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.8187, allocations: 2.516 MB / 0.9314 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.8187, allocations: 4 kB / 0.9314 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.8188, allocations: 55.84 kB / 0.9314 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/0.819, allocations: 70.05 kB / 0.9315 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.8191, allocations: 16 kB / 0.9315 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.8213, allocations: 3.266 MB / 0.9347 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.485e-06/0.8213, allocations: 11.94 kB / 0.9347 GB, free: 416 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.8221, allocations: 0.6814 MB / 0.9354 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.8225, allocations: 252.1 kB / 0.9356 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.8227, allocations: 15.98 kB / 0.9356 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.8234, allocations: 44.14 kB / 0.9357 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.8234, allocations: 43.78 kB / 0.9357 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.8235, allocations: 20.16 kB / 0.9357 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001036/0.8245, allocations: 0.8763 MB / 0.9366 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8245, allocations: 7.938 kB / 0.9366 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009303/0.8255, allocations: 259.8 kB / 0.9368 GB, free: 14.11 MB / 0.7012 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.001427/0.8269, allocations: 1.321 MB / 0.9381 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009095/0.8278, allocations: 0.5247 MB / 0.9386 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8278, allocations: 4 kB / 0.9386 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.8284, allocations: 398.6 kB / 0.939 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/0.8316, allocations: 0.7554 MB / 0.9398 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.842, allocations: 8.247 MB / 0.9478 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.8427, allocations: 1.134 MB / 0.9489 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007936/0.8435, allocations: 242.5 kB / 0.9491 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.8439, allocations: 439.3 kB / 0.9496 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/0.8439, allocations: 0 / 0.9496 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06828/0.9122, allocations: 34.22 MB / 0.983 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.55, allocations: 12.38 kB / 0.983 GB, free: 14.82 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)