Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",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.001153/0.001153, allocations: 104.8 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.001341/0.001341, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.33 kB / 0.5679 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 77.93 MB / 0.644 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.5004/0.6326, allocations: 168.4 MB / 0.8085 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.651, allocations: 17.37 MB / 0.8254 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.6534, allocations: 29.75 kB / 0.8255 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.6553, allocations: 0.5851 MB / 0.826 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00589/0.6613, allocations: 1.801 MB / 0.8278 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/0.6655, allocations: 1.451 MB / 0.8292 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003798/0.6693, allocations: 2.861 MB / 0.832 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.6717, allocations: 1.936 MB / 0.8339 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.6758, allocations: 1.475 MB / 0.8353 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.6772, allocations: 1.113 MB / 0.8364 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.6775, allocations: 221 kB / 0.8366 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.6807, allocations: 1.557 MB / 0.8381 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.6814, allocations: 0.8037 MB / 0.8389 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.6826, allocations: 1.267 MB / 0.8402 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00471/0.6873, allocations: 3.74 MB / 0.8438 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.494e-05/0.6873, allocations: 3.984 kB / 0.8438 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6873, allocations: 0 / 0.8438 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.44e-05/0.6874, allocations: 0 / 0.8438 GB, free: 12.49 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004841/0.6922, allocations: 2.99 MB / 0.8467 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.6923, allocations: 16.05 kB / 0.8468 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002842/0.6926, allocations: 249.3 kB / 0.847 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.6961, allocations: 0.5784 MB / 0.8476 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/0.7, allocations: 3.43 MB / 0.8509 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.7001, allocations: 139.3 kB / 0.851 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.7004, allocations: 168 kB / 0.8512 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/0.7036, allocations: 1.948 MB / 0.8531 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.7037, allocations: 0 / 0.8531 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.7038, allocations: 76 kB / 0.8532 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.7039, allocations: 40 kB / 0.8532 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/0.7072, allocations: 2.085 MB / 0.8553 GB, free: 2.402 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.008785/0.716, allocations: 6.577 MB / 0.8617 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.7193, allocations: 2.087 MB / 0.8637 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.7205, allocations: 0.7608 MB / 0.8645 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.7211, allocations: 429 kB / 0.8649 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.7229, allocations: 1.017 MB / 0.8659 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.346e-06/0.7229, allocations: 0 / 0.8659 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006556/0.7295, allocations: 2.966 MB / 0.8688 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.7296, allocations: 201.2 kB / 0.869 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.7339, allocations: 4.053 MB / 0.8729 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.7341, allocations: 61.7 kB / 0.873 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008009/0.7349, allocations: 0.8996 MB / 0.8738 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004277/0.7353, allocations: 0.4983 MB / 0.8743 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.7357, allocations: 234.9 kB / 0.8746 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7359, allocations: 353.9 kB / 0.8749 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.737, allocations: 0.5726 MB / 0.8755 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.7383, allocations: 0.799 MB / 0.8762 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.7407, allocations: 1.314 MB / 0.8775 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.7407, allocations: 0 / 0.8775 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00391/0.7446, allocations: 1.784 MB / 0.8793 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7446, allocations: 8 kB / 0.8793 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7447, allocations: 0 / 0.8793 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.7457, allocations: 214.2 kB / 0.8795 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.7473, allocations: 327.5 kB / 0.8798 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/0.7534, allocations: 7.319 MB / 0.8869 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.7548, allocations: 159.2 kB / 0.8871 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.755, allocations: 43.97 kB / 0.8871 GB, free: 332 kB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008792/0.7558, allocations: 497.5 kB / 0.8876 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.7563, allocations: 198.7 kB / 0.8878 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/0.7607, allocations: 2.138 MB / 0.8899 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.7607, allocations: 16 kB / 0.8899 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.7607, allocations: 0 / 0.8899 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.7608, allocations: 11.97 kB / 0.8899 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007172/0.7679, allocations: 4.115 MB / 0.8939 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.768, allocations: 0 / 0.8939 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.7694, allocations: 311.6 kB / 0.8942 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009007/0.7703, allocations: 216.1 kB / 0.8944 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.7704, allocations: 43.91 kB / 0.8945 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005729/0.7762, allocations: 7.342 MB / 0.9016 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7762, allocations: 64 / 0.9016 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.7804, allocations: 2.012 MB / 0.9036 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.7817, allocations: 0.5187 MB / 0.9041 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/0.7821, allocations: 28 kB / 0.9041 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.7836, allocations: 107.9 kB / 0.9042 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.7839, allocations: 113.1 kB / 0.9043 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.7841, allocations: 71.94 kB / 0.9044 GB, free: 13.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00381/0.7879, allocations: 3.116 MB / 0.9075 GB, free: 10.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7879, allocations: 0 / 0.9075 GB, free: 10.66 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00233/0.7902, allocations: 0.6976 MB / 0.9081 GB, free: 9.957 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006285/0.7965, allocations: 3.216 MB / 0.9113 GB, free: 6.918 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00374/0.8003, allocations: 2.051 MB / 0.9133 GB, free: 4.801 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.8003, allocations: 4.562 kB / 0.9133 GB, free: 4.797 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.8023, allocations: 1.418 MB / 0.9147 GB, free: 3.316 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.8052, allocations: 0.5552 MB / 0.9152 GB, free: 2.781 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03/0.8352, allocations: 20.82 MB / 0.9355 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.8366, allocations: 1.529 MB / 0.937 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001807/0.8385, allocations: 0.5174 MB / 0.9375 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/0.8398, allocations: 0.9131 MB / 0.9384 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of SimCode: time 7.31e-07/0.8398, allocations: 0 / 0.9384 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09319/0.933, allocations: 48.91 MB / 0.9862 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.57, allocations: 7.109 kB / 0.9862 GB, free: 10.26 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)