Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_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.001035/0.001035, 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.001106/0.001106, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 279.1 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 90.17 kB / 0.5948 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1444, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4516/0.596, allocations: 164.9 MB / 0.8407 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.6146, allocations: 17.02 MB / 0.8574 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.6162, allocations: 28.91 kB / 0.8574 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.6177, allocations: 466.8 kB / 0.8578 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.622, allocations: 1.547 MB / 0.8593 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.6253, allocations: 1.282 MB / 0.8606 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.6277, allocations: 2.657 MB / 0.8632 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.6298, allocations: 2.01 MB / 0.8651 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004694/0.6345, allocations: 1.383 MB / 0.8665 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.6358, allocations: 1.122 MB / 0.8676 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.636, allocations: 218.8 kB / 0.8678 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.6388, allocations: 1.556 MB / 0.8693 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006458/0.6394, allocations: 0.8129 MB / 0.8701 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.6405, allocations: 1.229 MB / 0.8713 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003765/0.6443, allocations: 3.649 MB / 0.8749 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6443, allocations: 5.844 kB / 0.8749 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6443, allocations: 0 / 0.8749 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.6443, allocations: 0 / 0.8749 GB, free: 11.77 MB / 0.5919 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.004262/0.6486, allocations: 2.881 MB / 0.8777 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6486, allocations: 7.781 kB / 0.8777 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000269/0.6489, allocations: 252 kB / 0.8779 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.6526, allocations: 0.5625 MB / 0.8785 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.6558, allocations: 3.386 MB / 0.8818 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-05/0.6559, allocations: 129.7 kB / 0.8819 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.6561, allocations: 172.8 kB / 0.8821 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/0.6591, allocations: 1.94 MB / 0.884 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.6592, allocations: 0 / 0.884 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.6593, allocations: 74.22 kB / 0.8841 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.6594, allocations: 41.88 kB / 0.8841 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/0.6626, allocations: 2.09 MB / 0.8861 GB, free: 4.293 MB / 0.5919 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.008133/0.6708, allocations: 6.223 MB / 0.8922 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.6739, allocations: 2.101 MB / 0.8943 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.6751, allocations: 0.7615 MB / 0.895 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/0.6757, allocations: 429.6 kB / 0.8954 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.6774, allocations: 1.009 MB / 0.8964 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.206e-06/0.6774, allocations: 0 / 0.8964 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006456/0.6838, allocations: 2.957 MB / 0.8993 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.684, allocations: 201.2 kB / 0.8995 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.6882, allocations: 4.053 MB / 0.9034 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.6883, allocations: 57.7 kB / 0.9035 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007572/0.6891, allocations: 0.8905 MB / 0.9044 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.6895, allocations: 481 kB / 0.9048 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003855/0.6899, allocations: 238.8 kB / 0.905 GB, free: 316 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.69, allocations: 353.9 kB / 0.9054 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.6911, allocations: 0.5726 MB / 0.9059 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.6923, allocations: 0.7993 MB / 0.9067 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.6945, allocations: 1.31 MB / 0.908 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6945, allocations: 0 / 0.908 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003578/0.6981, allocations: 1.772 MB / 0.9097 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.6981, allocations: 8 kB / 0.9097 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6982, allocations: 7.922 kB / 0.9098 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.6993, allocations: 212.2 kB / 0.91 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.7007, allocations: 323.5 kB / 0.9103 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006066/0.7068, allocations: 7.318 MB / 0.9174 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.7082, allocations: 174.8 kB / 0.9176 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.7083, allocations: 55.95 kB / 0.9176 GB, free: 2.602 MB / 0.6231 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.0007863/0.7091, allocations: 486 kB / 0.9181 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.7094, allocations: 189.7 kB / 0.9183 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.7138, allocations: 2.142 MB / 0.9204 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.7138, allocations: 16 kB / 0.9204 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7138, allocations: 0 / 0.9204 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.7138, allocations: 11.97 kB / 0.9204 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006303/0.7201, allocations: 4.106 MB / 0.9244 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7202, allocations: 0 / 0.9244 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.7216, allocations: 319.6 kB / 0.9247 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008761/0.7225, allocations: 208.1 kB / 0.9249 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.816e-05/0.7226, allocations: 47.89 kB / 0.9249 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005511/0.7281, allocations: 7.363 MB / 0.9321 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7282, allocations: 0 / 0.9321 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.7321, allocations: 1.995 MB / 0.9341 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007503/0.7329, allocations: 0.5098 MB / 0.9346 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.7331, allocations: 32 kB / 0.9346 GB, free: 320 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.7345, allocations: 126.9 kB / 0.9347 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.7347, allocations: 117.1 kB / 0.9348 GB, free: 76 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/0.7349, allocations: 71.95 kB / 0.9349 GB, free: 4 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002972/0.7378, allocations: 3.12 MB / 0.938 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7379, allocations: 0 / 0.938 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001633/0.7395, allocations: 0.6586 MB / 0.9386 GB, free: 12.23 MB / 0.6544 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.005717/0.7452, allocations: 3.205 MB / 0.9417 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005077/0.7503, allocations: 2.492 MB / 0.9442 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7503, allocations: 0.5625 kB / 0.9442 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.7523, allocations: 1.418 MB / 0.9456 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.7547, allocations: 0.5332 MB / 0.9461 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/0.7867, allocations: 23.23 MB / 0.9688 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.7879, allocations: 1.534 MB / 0.9703 GB, free: 11 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001941/0.7898, allocations: 0.5442 MB / 0.9708 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/0.791, allocations: 0.8976 MB / 0.9717 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/0.791, allocations: 0 / 0.9717 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0775/0.8685, allocations: 47.48 MB / 1.018 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.8687, allocations: 295.5 kB / 1.018 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/3.98, allocations: 0 / 1.018 GB, free: 10.32 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)