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.001057/0.001057, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001029/0.001029, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.253/1.253, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6402/0.6402, allocations: 115.3 MB / 406.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3059, allocations: 76.17 MB / 0.556 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.4516/0.7575, allocations: 239 MB / 0.7894 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.7694, allocations: 13.45 MB / 0.8025 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.7706, allocations: 52.97 kB / 0.8026 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.7722, allocations: 0.857 MB / 0.8034 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.775, allocations: 1.672 MB / 0.805 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.7769, allocations: 1.124 MB / 0.8061 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.7791, allocations: 3.283 MB / 0.8093 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/0.7799, allocations: 1.007 MB / 0.8103 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006211/0.7861, allocations: 4.026 MB / 0.8142 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.7869, allocations: 0.9635 MB / 0.8152 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.787, allocations: 77.47 kB / 0.8153 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009295/0.7879, allocations: 0.7361 MB / 0.816 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.7882, allocations: 446.3 kB / 0.8164 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.7887, allocations: 0.687 MB / 0.8171 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.7897, allocations: 1.574 MB / 0.8186 GB, free: 364 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7897, allocations: 3.047 kB / 0.8186 GB, free: 364 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7898, allocations: 0.75 kB / 0.8186 GB, free: 364 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.7898, allocations: 0 / 0.8186 GB, free: 364 kB / 0.5762 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.001667/0.7914, allocations: 1.625 MB / 0.8202 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.7915, allocations: 11.53 kB / 0.8202 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.7916, allocations: 124.9 kB / 0.8203 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005291/0.7921, allocations: 198.6 kB / 0.8205 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009249/0.7931, allocations: 0.8309 MB / 0.8213 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.993e-05/0.7932, allocations: 134.8 kB / 0.8215 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.7933, allocations: 81.44 kB / 0.8215 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.7943, allocations: 0.9133 MB / 0.8224 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.7943, allocations: 3 kB / 0.8224 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.7944, allocations: 38.81 kB / 0.8225 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.7944, allocations: 20.81 kB / 0.8225 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/0.7951, allocations: 0.5108 MB / 0.823 GB, free: 14.6 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.003319/0.7984, allocations: 4.867 MB / 0.8277 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.7989, allocations: 422.1 kB / 0.8281 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.7992, allocations: 264.6 kB / 0.8284 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.7993, allocations: 104.5 kB / 0.8285 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.7993, allocations: 52.69 kB / 0.8285 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.7993, allocations: 0 / 0.8285 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001423/0.8008, allocations: 0.782 MB / 0.8293 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.8009, allocations: 401.4 kB / 0.8297 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.8021, allocations: 1.274 MB / 0.8309 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.8021, allocations: 34.33 kB / 0.831 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.8024, allocations: 0.55 MB / 0.8315 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.8025, allocations: 108.5 kB / 0.8316 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.8026, allocations: 84.05 kB / 0.8317 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.8027, allocations: 320.9 kB / 0.832 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.8028, allocations: 92.78 kB / 0.8321 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.8031, allocations: 339.3 kB / 0.8324 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.8035, allocations: 329.7 kB / 0.8327 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8035, allocations: 2.766 kB / 0.8327 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006506/0.8042, allocations: 499.3 kB / 0.8332 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.8042, allocations: 7.719 kB / 0.8332 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8042, allocations: 3.156 kB / 0.8332 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.8044, allocations: 75.45 kB / 0.8333 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8046, allocations: 64.28 kB / 0.8333 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.8065, allocations: 3.257 MB / 0.8365 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/0.8071, allocations: 107.3 kB / 0.8366 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.8072, allocations: 26 kB / 0.8367 GB, free: 5.309 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.0002631/0.8074, allocations: 280.1 kB / 0.8369 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.8077, allocations: 134.2 kB / 0.837 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.8079, allocations: 130.5 kB / 0.8372 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.8079, allocations: 6.062 kB / 0.8372 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.8079, allocations: 6.25 kB / 0.8372 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8079, allocations: 2.781 kB / 0.8372 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.8103, allocations: 2.519 MB / 0.8396 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.8103, allocations: 5.969 kB / 0.8397 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.8104, allocations: 53.56 kB / 0.8397 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.8106, allocations: 81.02 kB / 0.8398 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.8106, allocations: 11.06 kB / 0.8398 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.8124, allocations: 3.271 MB / 0.843 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.8124, allocations: 7.969 kB / 0.843 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.8131, allocations: 0.6804 MB / 0.8437 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.8134, allocations: 240.6 kB / 0.8439 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.8135, allocations: 21.14 kB / 0.8439 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.8141, allocations: 62.84 kB / 0.844 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.8142, allocations: 42.94 kB / 0.844 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.8142, allocations: 18.42 kB / 0.844 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007851/0.815, allocations: 0.8786 MB / 0.8449 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.815, allocations: 0 / 0.8449 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008451/0.8159, allocations: 273.7 kB / 0.8451 GB, free: 15.15 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.001086/0.817, allocations: 1.314 MB / 0.8464 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006839/0.8177, allocations: 0.5315 MB / 0.8469 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8177, allocations: 6.75 kB / 0.847 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.8181, allocations: 408.2 kB / 0.8473 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.8208, allocations: 0.7422 MB / 0.8481 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009192/0.83, allocations: 9.284 MB / 0.8571 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.8306, allocations: 1.127 MB / 0.8582 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006231/0.8312, allocations: 242.5 kB / 0.8585 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.8316, allocations: 443.3 kB / 0.8589 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.8316, allocations: 2.625 kB / 0.8589 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.572/4.404, allocations: 33.69 MB / 0.8918 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/4.404, allocations: 298.3 kB / 0.8921 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/7.086, allocations: 0 / 0.8921 GB, free: 2.305 MB / 0.6387 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)