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.001176/0.001177, allocations: 104.1 kB / 16.4 MB, free: 6.465 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.001336/0.001336, allocations: 196 kB / 17.34 MB, free: 5.719 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 68.47 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1183, allocations: 77.93 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.4936/0.6119, allocations: 241.9 MB / 0.8803 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.6272, allocations: 13.53 MB / 0.8935 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.629, allocations: 59.56 kB / 0.8936 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.6312, allocations: 0.9899 MB / 0.8945 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003845/0.6351, allocations: 1.775 MB / 0.8963 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.6378, allocations: 1.241 MB / 0.8975 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003414/0.6412, allocations: 3.259 MB / 0.9007 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.6427, allocations: 1.051 MB / 0.9017 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008445/0.6512, allocations: 4.125 MB / 0.9057 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.6525, allocations: 0.8982 MB / 0.9066 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.6528, allocations: 80 kB / 0.9067 GB, free: 14.9 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.6544, allocations: 0.7014 MB / 0.9073 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.6549, allocations: 438.6 kB / 0.9078 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009923/0.6559, allocations: 0.6839 MB / 0.9084 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.6581, allocations: 1.518 MB / 0.9099 GB, free: 11.55 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6581, allocations: 0 / 0.9099 GB, free: 11.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6581, allocations: 0 / 0.9099 GB, free: 11.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.76e-05/0.6582, allocations: 0 / 0.9099 GB, free: 11.55 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.002799/0.661, allocations: 1.615 MB / 0.9115 GB, free: 9.883 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.661, allocations: 12.62 kB / 0.9115 GB, free: 9.871 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.6612, allocations: 134.7 kB / 0.9116 GB, free: 9.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.6619, allocations: 203.2 kB / 0.9118 GB, free: 9.531 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.6635, allocations: 0.9049 MB / 0.9127 GB, free: 8.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.6637, allocations: 125.4 kB / 0.9128 GB, free: 8.438 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6638, allocations: 91.94 kB / 0.9129 GB, free: 8.348 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.6651, allocations: 0.9065 MB / 0.9138 GB, free: 7.352 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.6651, allocations: 7.938 kB / 0.9138 GB, free: 7.344 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.6652, allocations: 32 kB / 0.9138 GB, free: 7.312 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.6652, allocations: 24 kB / 0.9139 GB, free: 7.289 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.6661, allocations: 0.511 MB / 0.9144 GB, free: 6.773 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.004285/0.6704, allocations: 4.86 MB / 0.9191 GB, free: 1.605 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.6709, allocations: 412.7 kB / 0.9195 GB, free: 1.074 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.6712, allocations: 263.8 kB / 0.9198 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.6714, allocations: 101.1 kB / 0.9199 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.6714, allocations: 58.42 kB / 0.9199 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.404e-06/0.6715, allocations: 0 / 0.9199 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.00168/0.6731, allocations: 0.782 MB / 0.9207 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.6733, allocations: 401.9 kB / 0.9211 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.6747, allocations: 1.271 MB / 0.9223 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.6748, allocations: 37.7 kB / 0.9223 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.6751, allocations: 0.5457 MB / 0.9229 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.6752, allocations: 110.4 kB / 0.923 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.6754, allocations: 85.59 kB / 0.9231 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.6754, allocations: 325.9 kB / 0.9234 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.6756, allocations: 91.69 kB / 0.9234 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.676, allocations: 334.4 kB / 0.9238 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.6765, allocations: 324.6 kB / 0.9241 GB, free: 12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6765, allocations: 4 kB / 0.9241 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000884/0.6774, allocations: 0.4894 MB / 0.9246 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6774, allocations: 8 kB / 0.9246 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6774, allocations: 4.344 kB / 0.9246 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.6777, allocations: 73.8 kB / 0.9246 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.6779, allocations: 60 kB / 0.9247 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.6801, allocations: 3.267 MB / 0.9279 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/0.6809, allocations: 91.23 kB / 0.928 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.6809, allocations: 20 kB / 0.928 GB, free: 7.688 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.000364/0.6813, allocations: 269.7 kB / 0.9283 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/0.6817, allocations: 146.2 kB / 0.9284 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.6819, allocations: 127.9 kB / 0.9285 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.6819, allocations: 8 kB / 0.9285 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6819, allocations: 7.938 kB / 0.9285 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6819, allocations: 11.94 kB / 0.9285 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.6849, allocations: 2.509 MB / 0.931 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.685, allocations: 4.094 kB / 0.931 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.6851, allocations: 55.91 kB / 0.931 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.6853, allocations: 73.61 kB / 0.9311 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.6854, allocations: 8 kB / 0.9311 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.6875, allocations: 3.262 MB / 0.9343 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.6875, allocations: 7.938 kB / 0.9343 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.6884, allocations: 0.6769 MB / 0.935 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.6888, allocations: 247.2 kB / 0.9352 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.689, allocations: 15.98 kB / 0.9352 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/0.6897, allocations: 35.95 kB / 0.9353 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.6898, allocations: 43.84 kB / 0.9353 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.6899, allocations: 23.98 kB / 0.9353 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001089/0.691, allocations: 0.8763 MB / 0.9362 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.691, allocations: 3.938 kB / 0.9362 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009295/0.6919, allocations: 255.7 kB / 0.9364 GB, free: 14.49 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.001445/0.6933, allocations: 1.336 MB / 0.9377 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008896/0.6942, allocations: 0.5208 MB / 0.9382 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6943, allocations: 0 / 0.9382 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.6948, allocations: 406.1 kB / 0.9386 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.6979, allocations: 0.754 MB / 0.9394 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009676/0.7076, allocations: 8.207 MB / 0.9474 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.7083, allocations: 1.13 MB / 0.9485 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007078/0.709, allocations: 238.5 kB / 0.9487 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.7094, allocations: 447.3 kB / 0.9491 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of SimCode: time 4.31e-07/0.7094, allocations: 4 kB / 0.9491 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/0.7712, allocations: 34.22 MB / 0.9826 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.48, allocations: 18.12 kB / 0.9826 GB, free: 15.23 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)