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.000844/0.0008441, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004678/0.004678, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 263 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8907/0.8907, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004318, allocations: 16.83 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1541, allocations: 88.54 MB / 0.6852 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4472/0.6013, allocations: 149.7 MB / 0.8314 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.6128, allocations: 10.39 MB / 0.8416 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.6135, allocations: 19.94 kB / 0.8416 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.6142, allocations: 220.2 kB / 0.8418 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.6162, allocations: 0.7899 MB / 0.8426 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.6184, allocations: 0.9379 MB / 0.8435 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.6198, allocations: 1.634 MB / 0.8451 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.6209, allocations: 1.02 MB / 0.8461 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.6225, allocations: 0.5363 MB / 0.8466 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.6231, allocations: 494.4 kB / 0.8471 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-05/0.6232, allocations: 30.47 kB / 0.8471 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.6247, allocations: 0.9314 MB / 0.848 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.6249, allocations: 269 kB / 0.8483 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.6254, allocations: 0.5422 MB / 0.8488 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.6273, allocations: 2.065 MB / 0.8508 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6273, allocations: 0 / 0.8508 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6273, allocations: 3.938 kB / 0.8508 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.6273, allocations: 0 / 0.8508 GB, free: 15.32 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.002398/0.6297, allocations: 1.466 MB / 0.8523 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.6298, allocations: 7.969 kB / 0.8523 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.63, allocations: 151.8 kB / 0.8524 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.6315, allocations: 281.3 kB / 0.8527 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.6327, allocations: 1.061 MB / 0.8537 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.6327, allocations: 75.44 kB / 0.8538 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.6329, allocations: 95.31 kB / 0.8539 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.6346, allocations: 1.116 MB / 0.855 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6346, allocations: 0 / 0.855 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.499e-05/0.6347, allocations: 40.25 kB / 0.855 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.6347, allocations: 28.81 kB / 0.855 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.6368, allocations: 1.334 MB / 0.8563 GB, free: 11.73 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.004613/0.6414, allocations: 3.323 MB / 0.8596 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.6432, allocations: 1.114 MB / 0.8607 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.6439, allocations: 428 kB / 0.8611 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.6442, allocations: 139.2 kB / 0.8612 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009916/0.6452, allocations: 0.6319 MB / 0.8618 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.284e-06/0.6452, allocations: 0 / 0.8618 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.003784/0.649, allocations: 1.671 MB / 0.8635 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.6491, allocations: 195.8 kB / 0.8636 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.6502, allocations: 1.021 MB / 0.8646 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/0.6503, allocations: 49.64 kB / 0.8647 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.6506, allocations: 477.1 kB / 0.8651 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.6508, allocations: 309.9 kB / 0.8654 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.6509, allocations: 71.45 kB / 0.8655 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6511, allocations: 334.6 kB / 0.8658 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.6517, allocations: 343.1 kB / 0.8661 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.6525, allocations: 485.5 kB / 0.8666 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.6539, allocations: 0.78 MB / 0.8674 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.6539, allocations: 4 kB / 0.8674 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002374/0.6563, allocations: 1.059 MB / 0.8684 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.6563, allocations: 8 kB / 0.8684 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6563, allocations: 0 / 0.8684 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.6571, allocations: 121.6 kB / 0.8685 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.6579, allocations: 199.8 kB / 0.8687 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.6608, allocations: 2.871 MB / 0.8715 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.6619, allocations: 121.5 kB / 0.8716 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.662, allocations: 39.97 kB / 0.8717 GB, free: 15.97 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.0005383/0.6625, allocations: 301.4 kB / 0.872 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.6627, allocations: 102.8 kB / 0.8721 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.6656, allocations: 1.345 MB / 0.8734 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.6656, allocations: 8 kB / 0.8734 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6656, allocations: 0 / 0.8734 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6656, allocations: 7.984 kB / 0.8734 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/0.6695, allocations: 2.477 MB / 0.8758 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.6696, allocations: 7.984 kB / 0.8758 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/0.6704, allocations: 191.8 kB / 0.876 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006133/0.671, allocations: 117.6 kB / 0.8761 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.6711, allocations: 31.91 kB / 0.8761 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.6736, allocations: 2.879 MB / 0.879 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6737, allocations: 0 / 0.879 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.6761, allocations: 1.262 MB / 0.8802 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.6766, allocations: 335.3 kB / 0.8805 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6768, allocations: 24 kB / 0.8805 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008397/0.6776, allocations: 99.91 kB / 0.8806 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.6778, allocations: 80.83 kB / 0.8807 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.998e-05/0.6779, allocations: 44.03 kB / 0.8807 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008737/0.6788, allocations: 0.7567 MB / 0.8815 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6788, allocations: 0 / 0.8815 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001107/0.6799, allocations: 435.1 kB / 0.8819 GB, free: 5.094 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.004139/0.6841, allocations: 2.425 MB / 0.8843 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.6862, allocations: 1.138 MB / 0.8854 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6862, allocations: 0 / 0.8854 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.6875, allocations: 0.7489 MB / 0.8861 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.6889, allocations: 314.1 kB / 0.8864 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.7047, allocations: 9.348 MB / 0.8955 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006871/0.7055, allocations: 1.103 MB / 0.8966 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001208/0.7067, allocations: 315.7 kB / 0.8969 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006649/0.7074, allocations: 467.2 kB / 0.8974 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/0.7074, allocations: 0 / 0.8974 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/0.7525, allocations: 26.25 MB / 0.923 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/0.7529, allocations: 306.7 kB / 0.9233 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.338, allocations: 3.938 kB / 0.9233 GB, free: 10.93 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)