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.001508/0.001508, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001939/0.001939, allocations: 187.7 kB / 16.25 MB, free: 6.59 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 282.8 kB / 290.3 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9761/0.9761, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 94.17 kB / 0.5948 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 86.97 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4332/0.5796, allocations: 151.8 MB / 0.828 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.5902, allocations: 10.37 MB / 0.8381 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008839/0.5911, allocations: 20.59 kB / 0.8382 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.5919, allocations: 219.8 kB / 0.8384 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.5943, allocations: 0.8388 MB / 0.8392 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.5965, allocations: 0.9647 MB / 0.8401 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.5978, allocations: 1.641 MB / 0.8417 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.5991, allocations: 1.185 MB / 0.8429 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.6009, allocations: 0.7168 MB / 0.8436 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.6016, allocations: 0.6146 MB / 0.8442 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.6017, allocations: 134.3 kB / 0.8443 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.6038, allocations: 1.012 MB / 0.8453 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.6043, allocations: 383.7 kB / 0.8457 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007355/0.605, allocations: 0.6625 MB / 0.8463 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.608, allocations: 2.184 MB / 0.8485 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.608, allocations: 4 kB / 0.8485 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.608, allocations: 0 / 0.8485 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.608, allocations: 0 / 0.8485 GB, free: 10.64 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.002931/0.611, allocations: 1.721 MB / 0.8501 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.611, allocations: 11.19 kB / 0.8501 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.6112, allocations: 154.3 kB / 0.8503 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.6128, allocations: 267.7 kB / 0.8506 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.614, allocations: 1.049 MB / 0.8516 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.614, allocations: 78.09 kB / 0.8517 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6142, allocations: 94.89 kB / 0.8517 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.6159, allocations: 1.104 MB / 0.8528 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.6159, allocations: 0 / 0.8528 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/0.616, allocations: 46.11 kB / 0.8529 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.6161, allocations: 24.94 kB / 0.8529 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.6181, allocations: 1.313 MB / 0.8542 GB, free: 6.918 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.004593/0.6227, allocations: 3.288 MB / 0.8574 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.6245, allocations: 1.102 MB / 0.8585 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.6251, allocations: 418.9 kB / 0.8589 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.6254, allocations: 144.4 kB / 0.859 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.6264, allocations: 0.6201 MB / 0.8596 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 4.258e-06/0.6264, allocations: 4 kB / 0.8596 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.003918/0.6304, allocations: 1.633 MB / 0.8612 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.204e-05/0.6305, allocations: 193.6 kB / 0.8614 GB, free: 2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.6316, allocations: 1.028 MB / 0.8624 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/0.6317, allocations: 42.73 kB / 0.8624 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.632, allocations: 471.8 kB / 0.8629 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.6323, allocations: 311.8 kB / 0.8632 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.6326, allocations: 175.7 kB / 0.8633 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6327, allocations: 332.8 kB / 0.8637 GB, free: 336 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/0.6334, allocations: 337.1 kB / 0.864 GB, free: 168 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/0.6342, allocations: 470.8 kB / 0.8644 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.6355, allocations: 0.7678 MB / 0.8652 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6355, allocations: 0 / 0.8652 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002348/0.6379, allocations: 1.035 MB / 0.8662 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6379, allocations: 6.781 kB / 0.8662 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6379, allocations: 2.219 kB / 0.8662 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007199/0.6386, allocations: 115.8 kB / 0.8663 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008519/0.6395, allocations: 197.6 kB / 0.8665 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.6424, allocations: 3.062 MB / 0.8695 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/0.6433, allocations: 116.4 kB / 0.8696 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.6434, allocations: 34.25 kB / 0.8696 GB, free: 11.68 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.0005078/0.6439, allocations: 311.5 kB / 0.8699 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.6441, allocations: 109.5 kB / 0.87 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.6469, allocations: 1.324 MB / 0.8713 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.647, allocations: 10.09 kB / 0.8713 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.647, allocations: 0 / 0.8713 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.647, allocations: 15.91 kB / 0.8714 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.6508, allocations: 2.437 MB / 0.8737 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6508, allocations: 0 / 0.8737 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.6516, allocations: 201.6 kB / 0.8739 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/0.6521, allocations: 100.2 kB / 0.874 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.6522, allocations: 41.97 kB / 0.8741 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.6548, allocations: 3.083 MB / 0.8771 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6548, allocations: 0 / 0.8771 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.6572, allocations: 1.231 MB / 0.8783 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/0.6577, allocations: 327.3 kB / 0.8786 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.6578, allocations: 21.66 kB / 0.8786 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/0.6587, allocations: 86.44 kB / 0.8787 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.6588, allocations: 90.75 kB / 0.8788 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.6589, allocations: 47.25 kB / 0.8788 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007722/0.6597, allocations: 0.748 MB / 0.8795 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6597, allocations: 0 / 0.8795 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001096/0.6608, allocations: 442.9 kB / 0.88 GB, free: 3.977 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.004156/0.665, allocations: 2.402 MB / 0.8823 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.6679, allocations: 1.361 MB / 0.8836 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6679, allocations: 0 / 0.8836 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.6692, allocations: 0.7372 MB / 0.8844 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.6706, allocations: 347.5 kB / 0.8847 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.6866, allocations: 9.233 MB / 0.8937 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007799/0.6874, allocations: 1.107 MB / 0.8948 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001163/0.6885, allocations: 311.8 kB / 0.8951 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.6892, allocations: 463.2 kB / 0.8955 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of SimCode: time 1.783e-06/0.6892, allocations: 0 / 0.8955 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/0.7391, allocations: 27.36 MB / 0.9222 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.7394, allocations: 320.2 kB / 0.9226 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.334, allocations: 0 / 0.9226 GB, free: 8.629 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)