Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.9759/0.9759, allocations: 141.8 MB / 149.3 MB, free: 9.184 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.0009718/0.0009718, allocations: 184.8 kB / 182.2 MB, free: 9.422 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.405/1.405, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008471/0.000847, allocations: 88.08 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 281.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.314e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3948, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.5319, allocations: 108.6 MB / 0.8635 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5322, allocations: 83.94 kB / 0.8636 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007585/0.5398, allocations: 2.739 MB / 0.8663 GB, free: 464 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5399, allocations: 4 kB / 0.8663 GB, free: 460 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.5399, allocations: 0 / 0.8663 GB, free: 460 kB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003541/0.5402, allocations: 338.4 kB / 0.8666 GB, free: 76 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5403, allocations: 12.03 kB / 0.8666 GB, free: 64 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.5403, allocations: 3.906 kB / 0.8666 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.5405, allocations: 163.1 kB / 0.8668 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.5405, allocations: 7.953 kB / 0.8668 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.5406, allocations: 4 kB / 0.8668 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.75e-05/0.5406, allocations: 19.98 kB / 0.8668 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.5408, allocations: 60.2 kB / 0.8669 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5408, allocations: 0 / 0.8669 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5408, allocations: 0 / 0.8669 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5408, allocations: 0 / 0.8669 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.5412, allocations: 241.5 kB / 0.8671 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.5413, allocations: 34.58 kB / 0.8671 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.5413, allocations: 20.94 kB / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5413, allocations: 3.938 kB / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.5415, allocations: 59.41 kB / 0.8672 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.5415, allocations: 0 / 0.8672 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.5417, allocations: 57.67 kB / 0.8672 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.5417, allocations: 110.8 kB / 0.8674 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.5418, allocations: 93 kB / 0.8674 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.5418, allocations: 25.7 kB / 0.8675 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.5419, allocations: 88.05 kB / 0.8676 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.5419, allocations: 15.83 kB / 0.8676 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.5419, allocations: 0 / 0.8676 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.542, allocations: 314.8 kB / 0.8679 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.5421, allocations: 8 kB / 0.8679 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-05/0.5421, allocations: 38.5 kB / 0.8679 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.5421, allocations: 8 kB / 0.8679 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5421, allocations: 0 / 0.8679 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.653e-05/0.5422, allocations: 62.02 kB / 0.868 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5423, allocations: 4 kB / 0.868 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5423, allocations: 4 kB / 0.868 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5423, allocations: 4 kB / 0.868 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.5424, allocations: 8 kB / 0.868 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.5424, allocations: 0 / 0.868 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.5425, allocations: 16.02 kB / 0.868 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5425, allocations: 0 / 0.868 GB, free: 14.43 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.643e-05/0.5426, allocations: 104.9 kB / 0.8681 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.048e-05/0.5427, allocations: 77.5 kB / 0.8682 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.5427, allocations: 4 kB / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.5427, allocations: 4.125 kB / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5427, allocations: 0 / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5427, allocations: 0 / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5427, allocations: 8 kB / 0.8682 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.5429, allocations: 146.2 kB / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5429, allocations: 0 / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.5429, allocations: 7.984 kB / 0.8683 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5429, allocations: 0 / 0.8683 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.5429, allocations: 0 / 0.8683 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5429, allocations: 0 / 0.8683 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5429, allocations: 0 / 0.8683 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.543, allocations: 92.97 kB / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.5431, allocations: 89.05 kB / 0.8685 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.5431, allocations: 4 kB / 0.8685 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.5433, allocations: 7.984 kB / 0.8685 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.5433, allocations: 7.984 kB / 0.8685 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.5433, allocations: 0 / 0.8685 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.5433, allocations: 83.28 kB / 0.8686 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5434, allocations: 4 kB / 0.8686 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001834/0.5435, allocations: 12 kB / 0.8686 GB, free: 13.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003567/0.5439, allocations: 0.6325 MB / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.11e-05/0.544, allocations: 27.98 kB / 0.8693 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.544, allocations: 0 / 0.8693 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.5441, allocations: 12 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.5442, allocations: 7.422 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.5445, allocations: 101.5 kB / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.5447, allocations: 0.6806 MB / 0.8701 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.5447, allocations: 12 kB / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.5448, allocations: 11.44 kB / 0.8701 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of SimCode: time 1.803e-06/0.5448, allocations: 0 / 0.8701 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.5652, allocations: 1.18 MB / 0.8712 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.5655, allocations: 198.3 kB / 0.8714 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/2.014, allocations: 0 / 0.8714 GB, free: 10.8 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)