Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8106/0.8106, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 183.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.000952, allocations: 92.02 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 282.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.623e-05, allocations: 7.938 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4739, allocations: 82.77 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.637, allocations: 108.2 MB / 0.8632 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/0.6374, allocations: 87.94 kB / 0.8633 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002771/0.6402, allocations: 0.7379 MB / 0.864 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.979e-06/0.6403, allocations: 0 / 0.864 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.6403, allocations: 7.938 kB / 0.864 GB, free: 2.773 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004142/0.6407, allocations: 306.6 kB / 0.8643 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.917e-05/0.6408, allocations: 16.02 kB / 0.8643 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.6409, allocations: 4 kB / 0.8643 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.6411, allocations: 167 kB / 0.8645 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.6411, allocations: 3.953 kB / 0.8645 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.6412, allocations: 7.938 kB / 0.8645 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.611e-05/0.6412, allocations: 0 / 0.8645 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.6413, allocations: 29.7 kB / 0.8645 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.6413, allocations: 0 / 0.8645 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6414, allocations: 0 / 0.8645 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.6414, allocations: 4 kB / 0.8645 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.6418, allocations: 229.4 kB / 0.8647 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/0.6419, allocations: 22.58 kB / 0.8647 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.642, allocations: 16.86 kB / 0.8648 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.6421, allocations: 0 / 0.8648 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.6421, allocations: 30.56 kB / 0.8648 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.6421, allocations: 4 kB / 0.8648 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002023/0.6423, allocations: 37.73 kB / 0.8648 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.6424, allocations: 55.41 kB / 0.8649 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.6425, allocations: 92.98 kB / 0.865 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.6426, allocations: 25.7 kB / 0.865 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.6426, allocations: 80.14 kB / 0.8651 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.6427, allocations: 11.91 kB / 0.8651 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.6427, allocations: 0 / 0.8651 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.6429, allocations: 318.9 kB / 0.8654 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.6429, allocations: 0 / 0.8654 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.6429, allocations: 4 kB / 0.8654 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.6429, allocations: 7.938 kB / 0.8654 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6429, allocations: 0 / 0.8654 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.458e-05/0.643, allocations: 37.66 kB / 0.8654 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.6431, allocations: 8 kB / 0.8654 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6431, allocations: 3.938 kB / 0.8654 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6431, allocations: 0 / 0.8654 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.6432, allocations: 12.09 kB / 0.8655 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6432, allocations: 0 / 0.8655 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.6432, allocations: 3.938 kB / 0.8655 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.6433, allocations: 3.984 kB / 0.8655 GB, free: 1.062 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.6434, allocations: 101 kB / 0.8656 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.47e-05/0.6435, allocations: 45.59 kB / 0.8656 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.6435, allocations: 0 / 0.8656 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.6435, allocations: 7.75 kB / 0.8656 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.6435, allocations: 0 / 0.8656 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6436, allocations: 4.031 kB / 0.8656 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6436, allocations: 0 / 0.8656 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.6438, allocations: 138.1 kB / 0.8657 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6438, allocations: 3.953 kB / 0.8657 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.6438, allocations: 4 kB / 0.8658 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.6438, allocations: 3.984 kB / 0.8658 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.6438, allocations: 0 / 0.8658 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6438, allocations: 0 / 0.8658 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6438, allocations: 0 / 0.8658 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.644, allocations: 131.6 kB / 0.8659 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.6441, allocations: 81.06 kB / 0.866 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.6441, allocations: 7.984 kB / 0.866 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.6441, allocations: 0 / 0.866 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.6442, allocations: 0 / 0.866 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.6442, allocations: 0 / 0.866 GB, free: 472 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.6442, allocations: 83.22 kB / 0.866 GB, free: 388 kB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6442, allocations: 0 / 0.866 GB, free: 388 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002627/0.6445, allocations: 4 kB / 0.866 GB, free: 384 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005751/0.6451, allocations: 0.6695 MB / 0.8667 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.6452, allocations: 8 kB / 0.8667 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6452, allocations: 0 / 0.8667 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.6452, allocations: 7.938 kB / 0.8667 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.6454, allocations: 6.031 kB / 0.8667 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.6458, allocations: 90.78 kB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.6462, allocations: 0.6807 MB / 0.8675 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.951e-05/0.6463, allocations: 0 / 0.8675 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.6463, allocations: 7.438 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.6463, allocations: 0 / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.6691, allocations: 0.5717 MB / 0.868 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/0.6695, allocations: 183.7 kB / 0.8682 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.139, allocations: 0 / 0.8682 GB, free: 14.08 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)