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.00116/0.001164, allocations: 103.7 kB / 16.27 MB, free: 6.41 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.00113/0.00113, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.197/1.197, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7084/0.7084, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3048, allocations: 77.93 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.507/0.8118, allocations: 241.9 MB / 0.8035 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.8264, allocations: 13.54 MB / 0.8167 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.8286, allocations: 60.16 kB / 0.8168 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.8307, allocations: 0.9703 MB / 0.8177 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.8346, allocations: 1.786 MB / 0.8195 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.8371, allocations: 1.224 MB / 0.8207 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003307/0.8404, allocations: 3.25 MB / 0.8238 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.8416, allocations: 1.062 MB / 0.8249 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007638/0.8493, allocations: 4.107 MB / 0.8289 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.8505, allocations: 0.8933 MB / 0.8298 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.8507, allocations: 76.97 kB / 0.8298 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.852, allocations: 0.6986 MB / 0.8305 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003455/0.8524, allocations: 445.7 kB / 0.8309 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00068/0.8531, allocations: 0.6804 MB / 0.8316 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.8547, allocations: 1.495 MB / 0.8331 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8548, allocations: 0 / 0.8331 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8548, allocations: 0 / 0.8331 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.8548, allocations: 3.938 kB / 0.8331 GB, free: 15.75 MB / 0.5919 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.002055/0.8568, allocations: 1.624 MB / 0.8346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.8569, allocations: 9.062 kB / 0.8347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.857, allocations: 128.2 kB / 0.8348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.8576, allocations: 209 kB / 0.835 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.8587, allocations: 0.8297 MB / 0.8358 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.8589, allocations: 121.2 kB / 0.8359 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.859, allocations: 85.19 kB / 0.836 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.8602, allocations: 0.9134 MB / 0.8369 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.8602, allocations: 5.062 kB / 0.8369 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.8603, allocations: 40.31 kB / 0.8369 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.8603, allocations: 19.25 kB / 0.8369 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/0.8611, allocations: 0.517 MB / 0.8374 GB, free: 13.46 MB / 0.5919 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.004137/0.8652, allocations: 4.88 MB / 0.8422 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.8658, allocations: 413.1 kB / 0.8426 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.8661, allocations: 269 kB / 0.8429 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.8663, allocations: 102.2 kB / 0.843 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.8663, allocations: 55.23 kB / 0.843 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.8663, allocations: 0 / 0.843 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001617/0.8679, allocations: 0.7796 MB / 0.8438 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.8681, allocations: 404.6 kB / 0.8442 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.8694, allocations: 1.272 MB / 0.8454 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.8695, allocations: 38.98 kB / 0.8454 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.8699, allocations: 0.5558 MB / 0.846 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/0.87, allocations: 111.1 kB / 0.8461 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.8701, allocations: 84.78 kB / 0.8462 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8702, allocations: 316.9 kB / 0.8465 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.8704, allocations: 95.22 kB / 0.8466 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.8707, allocations: 335.2 kB / 0.8469 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.8712, allocations: 333.1 kB / 0.8472 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8712, allocations: 2.469 kB / 0.8472 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007284/0.8719, allocations: 499.9 kB / 0.8477 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8719, allocations: 6.781 kB / 0.8477 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8719, allocations: 3.969 kB / 0.8477 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.8722, allocations: 77.2 kB / 0.8478 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.8724, allocations: 52.22 kB / 0.8478 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.8746, allocations: 3.264 MB / 0.851 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.8753, allocations: 100 kB / 0.8511 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.8753, allocations: 20.59 kB / 0.8511 GB, free: 1.828 MB / 0.5919 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.0003016/0.8757, allocations: 274.9 kB / 0.8514 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.876, allocations: 139.6 kB / 0.8515 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.8762, allocations: 125.4 kB / 0.8516 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.8762, allocations: 12.67 kB / 0.8516 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.8762, allocations: 6.812 kB / 0.8516 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8762, allocations: 5.375 kB / 0.8517 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.879, allocations: 2.518 MB / 0.8541 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.879, allocations: 8.812 kB / 0.8541 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.8792, allocations: 49.03 kB / 0.8542 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001582/0.8793, allocations: 71.48 kB / 0.8542 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.8794, allocations: 9.875 kB / 0.8542 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.8815, allocations: 3.266 MB / 0.8574 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.8815, allocations: 13.75 kB / 0.8574 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.8823, allocations: 0.6631 MB / 0.8581 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.8826, allocations: 247.5 kB / 0.8583 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.8827, allocations: 21.55 kB / 0.8583 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.8834, allocations: 41.73 kB / 0.8584 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.8834, allocations: 44.72 kB / 0.8584 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.8835, allocations: 20.92 kB / 0.8585 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009642/0.8844, allocations: 0.8827 MB / 0.8593 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8844, allocations: 0 / 0.8593 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000861/0.8853, allocations: 259.8 kB / 0.8596 GB, free: 10.1 MB / 0.6075 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.001299/0.8866, allocations: 1.319 MB / 0.8608 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008043/0.8874, allocations: 0.5349 MB / 0.8614 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8874, allocations: 4 kB / 0.8614 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.8879, allocations: 398.7 kB / 0.8618 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.891, allocations: 0.747 MB / 0.8625 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.9011, allocations: 8.998 MB / 0.8713 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.9017, allocations: 1.138 MB / 0.8724 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008249/0.9026, allocations: 250.5 kB / 0.8726 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.903, allocations: 439.3 kB / 0.873 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.903, allocations: 0 / 0.873 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6507/1.554, allocations: 33.98 MB / 0.9062 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.888/11.44, allocations: 6.5 kB / 0.9062 GB, free: 10.32 MB / 0.6544 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)