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.001338/0.001338, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001144/0.001144, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.318/1.318, 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.7626/0.7626, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 60.22 kB / 0.5726 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 78.71 MB / 0.6494 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.4486/0.5671, allocations: 176.5 MB / 0.8218 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.5813, allocations: 10.92 MB / 0.8325 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.5826, allocations: 31.53 kB / 0.8325 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.584, allocations: 418 kB / 0.8329 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.5872, allocations: 1.117 MB / 0.834 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.5911, allocations: 1.738 MB / 0.8357 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002651/0.5938, allocations: 2.379 MB / 0.838 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.5957, allocations: 1.401 MB / 0.8394 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.5987, allocations: 1.291 MB / 0.8406 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.5998, allocations: 0.7995 MB / 0.8414 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.6001, allocations: 155.8 kB / 0.8416 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.6026, allocations: 1.422 MB / 0.843 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.6031, allocations: 452.6 kB / 0.8434 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009165/0.604, allocations: 0.7908 MB / 0.8442 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003675/0.6077, allocations: 2.594 MB / 0.8467 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6077, allocations: 3.984 kB / 0.8467 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6077, allocations: 0 / 0.8467 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.094e-05/0.6078, allocations: 0 / 0.8467 GB, free: 8.863 MB / 0.6075 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.003677/0.6115, allocations: 1.942 MB / 0.8486 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.6115, allocations: 9.812 kB / 0.8486 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.6117, allocations: 181.3 kB / 0.8488 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.6139, allocations: 351.8 kB / 0.8491 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.6155, allocations: 1.004 MB / 0.8501 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.6155, allocations: 85.8 kB / 0.8502 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.6157, allocations: 114.5 kB / 0.8503 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.618, allocations: 1.301 MB / 0.8516 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.618, allocations: 4 kB / 0.8516 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.6181, allocations: 52.27 kB / 0.8516 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.6182, allocations: 30.34 kB / 0.8516 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.6207, allocations: 1.446 MB / 0.8531 GB, free: 4.09 MB / 0.6075 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.006349/0.6271, allocations: 4.044 MB / 0.857 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.6293, allocations: 1.213 MB / 0.8582 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008156/0.6301, allocations: 453.5 kB / 0.8586 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000722/0.6309, allocations: 425.3 kB / 0.859 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.632, allocations: 0.6668 MB / 0.8597 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=106): time 3.256e-06/0.632, allocations: 0 / 0.8597 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106): time 0.004038/0.6361, allocations: 1.607 MB / 0.8612 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.6362, allocations: 192.9 kB / 0.8614 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.6374, allocations: 0.8906 MB / 0.8623 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/0.6375, allocations: 49.64 kB / 0.8623 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.6379, allocations: 0.5208 MB / 0.8629 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.6382, allocations: 372.8 kB / 0.8632 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.6385, allocations: 190.6 kB / 0.8634 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6386, allocations: 345.9 kB / 0.8637 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/0.6394, allocations: 361.8 kB / 0.8641 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/0.6403, allocations: 0.5049 MB / 0.8646 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.6419, allocations: 0.8446 MB / 0.8654 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6419, allocations: 0 / 0.8654 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002524/0.6444, allocations: 1.123 MB / 0.8665 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6445, allocations: 8 kB / 0.8665 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6445, allocations: 0 / 0.8665 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.6451, allocations: 84.86 kB / 0.8666 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009703/0.646, allocations: 227.6 kB / 0.8668 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.6482, allocations: 1.641 MB / 0.8684 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008922/0.6491, allocations: 135.2 kB / 0.8685 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/0.6492, allocations: 43.92 kB / 0.8686 GB, free: 3.559 MB / 0.6231 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.0004748/0.6497, allocations: 325.5 kB / 0.8689 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.6499, allocations: 119.2 kB / 0.869 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.6531, allocations: 1.513 MB / 0.8705 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6531, allocations: 12 kB / 0.8705 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6531, allocations: 3.938 kB / 0.8705 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.6531, allocations: 3.984 kB / 0.8705 GB, free: 1.555 MB / 0.6231 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.00471/0.6578, allocations: 2.843 MB / 0.8733 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6579, allocations: 3.938 kB / 0.8733 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009082/0.6588, allocations: 199.7 kB / 0.8735 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.6592, allocations: 80.97 kB / 0.8735 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.6593, allocations: 31.97 kB / 0.8736 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.6612, allocations: 1.677 MB / 0.8752 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6612, allocations: 4 kB / 0.8752 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/0.6647, allocations: 1.866 MB / 0.877 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.6652, allocations: 351.9 kB / 0.8774 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.6654, allocations: 27.95 kB / 0.8774 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008943/0.6663, allocations: 78.03 kB / 0.8775 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.6665, allocations: 92.75 kB / 0.8775 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.76e-05/0.6666, allocations: 52.03 kB / 0.8776 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008281/0.6674, allocations: 0.6222 MB / 0.8782 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6674, allocations: 4 kB / 0.8782 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001095/0.6685, allocations: 462.9 kB / 0.8787 GB, free: 8.863 MB / 0.6387 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.005183/0.6737, allocations: 3.023 MB / 0.8816 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.6758, allocations: 1.069 MB / 0.8826 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6759, allocations: 4 kB / 0.8827 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.6771, allocations: 0.6568 MB / 0.8833 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.6793, allocations: 0.5213 MB / 0.8838 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.6938, allocations: 8.816 MB / 0.8924 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.6946, allocations: 1.162 MB / 0.8935 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00119/0.6958, allocations: 365.8 kB / 0.8939 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/0.6965, allocations: 0.5305 MB / 0.8944 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.6965, allocations: 0 / 0.8944 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06241/0.7589, allocations: 33.13 MB / 0.9268 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.57, allocations: 9.469 kB / 0.9268 GB, free: 7.84 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1)