Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.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.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",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.001018/0.001018, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.00104/0.00104, allocations: 191.3 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.201/1.201, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6556/0.6556, allocations: 115.3 MB / 406.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 71.89 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2812, allocations: 76.16 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.1566/0.4378, allocations: 174.1 MB / 0.7261 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01401/0.4519, allocations: 10.78 MB / 0.7366 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.4532, allocations: 31.81 kB / 0.7366 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.4545, allocations: 341.8 kB / 0.737 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.4577, allocations: 1.008 MB / 0.7379 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.4618, allocations: 1.546 MB / 0.7394 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002787/0.4646, allocations: 2.377 MB / 0.7418 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.4666, allocations: 1.404 MB / 0.7431 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.4702, allocations: 1.24 MB / 0.7443 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.4713, allocations: 0.8286 MB / 0.7452 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.4717, allocations: 156 kB / 0.7453 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.4742, allocations: 1.419 MB / 0.7467 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004821/0.4747, allocations: 454.6 kB / 0.7471 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.2577/0.7324, allocations: 0.784 MB / 0.7479 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.7369, allocations: 2.592 MB / 0.7504 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7369, allocations: 1.031 kB / 0.7504 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7369, allocations: 0 / 0.7504 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.7369, allocations: 0.6562 kB / 0.7504 GB, free: 6.414 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003373/0.7403, allocations: 1.892 MB / 0.7523 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7404, allocations: 11.17 kB / 0.7523 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.7406, allocations: 177.9 kB / 0.7525 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.7427, allocations: 350.5 kB / 0.7528 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.7441, allocations: 0.9514 MB / 0.7537 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/0.7442, allocations: 93.78 kB / 0.7538 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.7444, allocations: 116 kB / 0.7539 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.7467, allocations: 1.3 MB / 0.7552 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.7468, allocations: 5.844 kB / 0.7552 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.7469, allocations: 49.73 kB / 0.7552 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.7469, allocations: 29.69 kB / 0.7553 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.7493, allocations: 1.449 MB / 0.7567 GB, free: 4.82 MB / 0.5762 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.005888/0.7552, allocations: 4.069 MB / 0.7607 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.7572, allocations: 1.201 MB / 0.7618 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006974/0.7579, allocations: 452.7 kB / 0.7623 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000623/0.7586, allocations: 427.9 kB / 0.7627 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.7596, allocations: 0.6567 MB / 0.7633 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=106): time 2.475e-06/0.7597, allocations: 1.203 kB / 0.7633 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106): time 0.003693/0.7634, allocations: 1.611 MB / 0.7649 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.7635, allocations: 195.4 kB / 0.7651 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/0.7645, allocations: 0.8757 MB / 0.7659 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.762e-05/0.7646, allocations: 47.58 kB / 0.766 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.7649, allocations: 0.5212 MB / 0.7665 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.7651, allocations: 355.9 kB / 0.7668 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.7654, allocations: 192.6 kB / 0.767 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.7655, allocations: 344.9 kB / 0.7673 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.7661, allocations: 360.4 kB / 0.7677 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/0.7669, allocations: 0.5001 MB / 0.7682 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.7683, allocations: 0.8435 MB / 0.769 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7683, allocations: 0 / 0.769 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002303/0.7706, allocations: 1.115 MB / 0.7701 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7707, allocations: 9.812 kB / 0.7701 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7707, allocations: 2.031 kB / 0.7701 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.7713, allocations: 85.47 kB / 0.7702 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.7722, allocations: 220.3 kB / 0.7704 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.774, allocations: 1.65 MB / 0.772 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/0.775, allocations: 140 kB / 0.7721 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/0.7751, allocations: 46.28 kB / 0.7722 GB, free: 15.65 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004527/0.7755, allocations: 321 kB / 0.7725 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.7758, allocations: 127.5 kB / 0.7726 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.7786, allocations: 1.505 MB / 0.7741 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.7787, allocations: 12.62 kB / 0.7741 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.7787, allocations: 0 / 0.7741 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.7787, allocations: 6.141 kB / 0.7741 GB, free: 15.33 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 postOpt removeSimpleEquations (simulation): time 0.00404/0.7827, allocations: 2.839 MB / 0.7769 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7828, allocations: 4.312 kB / 0.7769 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008152/0.7836, allocations: 198 kB / 0.777 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.784, allocations: 76.61 kB / 0.7771 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/0.7841, allocations: 35.12 kB / 0.7772 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.7857, allocations: 1.683 MB / 0.7788 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7857, allocations: 5.734 kB / 0.7788 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.7889, allocations: 1.86 MB / 0.7806 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006244/0.7895, allocations: 344.2 kB / 0.7809 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.7897, allocations: 29.09 kB / 0.781 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.7906, allocations: 89.83 kB / 0.7811 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.7908, allocations: 88.28 kB / 0.7811 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/0.7909, allocations: 44.36 kB / 0.7812 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007573/0.7916, allocations: 0.6331 MB / 0.7818 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7916, allocations: 0.9062 kB / 0.7818 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001268/0.7929, allocations: 454.2 kB / 0.7822 GB, free: 12.72 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004585/0.7975, allocations: 3.019 MB / 0.7852 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.8002, allocations: 1.337 MB / 0.7865 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8002, allocations: 4.828 kB / 0.7865 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009734/0.8012, allocations: 0.6688 MB / 0.7872 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.8032, allocations: 0.5273 MB / 0.7877 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.8174, allocations: 9.784 MB / 0.7972 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.8181, allocations: 1.164 MB / 0.7984 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001322/0.8194, allocations: 372.1 kB / 0.7987 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.8201, allocations: 0.5242 MB / 0.7992 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.8201, allocations: 4 kB / 0.7992 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4236/1.244, allocations: 32.61 MB / 0.8311 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003587/1.244, allocations: 261.2 kB / 0.8313 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/4.186, allocations: 3.938 kB / 0.8313 GB, free: 1.41 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1)