Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",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.00108/0.00108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 271 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9409/0.9409, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 96.84 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1539, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4712/0.6252, allocations: 154 MB / 0.8307 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.6375, allocations: 10.5 MB / 0.8409 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.6392, allocations: 21.22 kB / 0.8409 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6402, allocations: 267.6 kB / 0.8412 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.6432, allocations: 0.9296 MB / 0.8421 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.6463, allocations: 1.071 MB / 0.8432 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.648, allocations: 1.627 MB / 0.8447 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.6498, allocations: 1.18 MB / 0.8459 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.6518, allocations: 0.7026 MB / 0.8466 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007824/0.6526, allocations: 0.61 MB / 0.8472 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.6528, allocations: 135.2 kB / 0.8473 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.6551, allocations: 1.002 MB / 0.8483 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.6555, allocations: 388.3 kB / 0.8487 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006742/0.6562, allocations: 0.6555 MB / 0.8493 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.6589, allocations: 2.164 MB / 0.8514 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6589, allocations: 0 / 0.8514 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6589, allocations: 2.406 kB / 0.8514 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.867e-05/0.659, allocations: 0 / 0.8514 GB, free: 10.11 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003015/0.662, allocations: 1.722 MB / 0.8531 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.662, allocations: 10.38 kB / 0.8531 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.6622, allocations: 152.7 kB / 0.8533 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.6638, allocations: 275.3 kB / 0.8535 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.6654, allocations: 1.049 MB / 0.8545 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.822e-05/0.6655, allocations: 77.95 kB / 0.8546 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.6656, allocations: 94.75 kB / 0.8547 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.6676, allocations: 1.109 MB / 0.8558 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.6677, allocations: 2.781 kB / 0.8558 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6678, allocations: 50.05 kB / 0.8558 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.6678, allocations: 22.44 kB / 0.8559 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.6699, allocations: 1.316 MB / 0.8571 GB, free: 6.363 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.005146/0.6751, allocations: 3.286 MB / 0.8604 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.677, allocations: 1.106 MB / 0.8614 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.6777, allocations: 417.6 kB / 0.8618 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.678, allocations: 136.8 kB / 0.862 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.6791, allocations: 0.6266 MB / 0.8626 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.425e-06/0.6791, allocations: 0 / 0.8626 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.00386/0.6829, allocations: 1.631 MB / 0.8642 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6831, allocations: 194.9 kB / 0.8644 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6841, allocations: 1.029 MB / 0.8654 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.6842, allocations: 46.52 kB / 0.8654 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.6845, allocations: 477.1 kB / 0.8659 GB, free: 472 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.6848, allocations: 308.6 kB / 0.8662 GB, free: 208 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.685, allocations: 168.6 kB / 0.8663 GB, free: 104 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6852, allocations: 337.8 kB / 0.8666 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.6858, allocations: 335 kB / 0.867 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007605/0.6866, allocations: 467 kB / 0.8674 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.688, allocations: 0.7658 MB / 0.8681 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.688, allocations: 2.75 kB / 0.8681 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002244/0.6903, allocations: 1.04 MB / 0.8692 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6903, allocations: 4.5 kB / 0.8692 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.6903, allocations: 2.781 kB / 0.8692 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007221/0.691, allocations: 111.6 kB / 0.8693 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.6919, allocations: 197.4 kB / 0.8695 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.6947, allocations: 3.074 MB / 0.8725 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.6956, allocations: 100.6 kB / 0.8726 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/0.6956, allocations: 38.88 kB / 0.8726 GB, free: 11.12 MB / 0.5919 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 (100): * Single equations (assignments): 98 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005785/0.6962, allocations: 320 kB / 0.8729 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.6965, allocations: 109.1 kB / 0.873 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.7002, allocations: 1.318 MB / 0.8743 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.7002, allocations: 10.09 kB / 0.8743 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7002, allocations: 2.531 kB / 0.8743 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.7002, allocations: 7.969 kB / 0.8743 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/0.7043, allocations: 2.452 MB / 0.8767 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7044, allocations: 0 / 0.8767 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.7052, allocations: 187.5 kB / 0.8769 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/0.7057, allocations: 105.7 kB / 0.877 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.7058, allocations: 42.28 kB / 0.877 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.7087, allocations: 3.081 MB / 0.88 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7087, allocations: 0 / 0.88 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.7111, allocations: 1.23 MB / 0.8812 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.7116, allocations: 329.9 kB / 0.8816 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.7118, allocations: 21.09 kB / 0.8816 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.7126, allocations: 82.25 kB / 0.8817 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.7128, allocations: 80.83 kB / 0.8817 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.143e-05/0.7129, allocations: 44.03 kB / 0.8818 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000922/0.7138, allocations: 0.7528 MB / 0.8825 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7138, allocations: 0 / 0.8825 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001252/0.7151, allocations: 435.2 kB / 0.8829 GB, free: 2.961 MB / 0.5919 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 1 system {(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.004558/0.7197, allocations: 2.407 MB / 0.8853 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003178/0.7229, allocations: 1.361 MB / 0.8866 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.7229, allocations: 4 kB / 0.8866 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.7242, allocations: 0.7393 MB / 0.8873 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7259, allocations: 351.6 kB / 0.8877 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.7416, allocations: 8.797 MB / 0.8963 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/0.7424, allocations: 1.099 MB / 0.8973 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001147/0.7436, allocations: 315.8 kB / 0.8976 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006817/0.7443, allocations: 463.2 kB / 0.8981 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.7443, allocations: 0 / 0.8981 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06162/0.8059, allocations: 27.61 MB / 0.925 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.17, allocations: 17.59 kB / 0.925 GB, free: 8.141 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)