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.7044/0.7044, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 185.4 kB / 187.3 MB, free: 11.87 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.278/1.278, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.000772/0.000772, allocations: 96 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 284.9 kB / 0.594 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.925e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3442, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.4466, allocations: 109.3 MB / 0.8711 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4468, allocations: 83.94 kB / 0.8712 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007012/0.4538, allocations: 2.737 MB / 0.8738 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4539, allocations: 0 / 0.8738 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.4539, allocations: 0 / 0.8738 GB, free: 12.45 MB / 0.5417 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.0003242/0.4542, allocations: 340.3 kB / 0.8742 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4543, allocations: 8.031 kB / 0.8742 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.4543, allocations: 34.56 kB / 0.8742 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.4544, allocations: 5.344 kB / 0.8742 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.4545, allocations: 171 kB / 0.8744 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4545, allocations: 7.953 kB / 0.8744 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4546, allocations: 4 kB / 0.8744 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.4547, allocations: 68.2 kB / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.4547, allocations: 0 / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4547, allocations: 0 / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4547, allocations: 3.984 kB / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.4548, allocations: 12 kB / 0.8745 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.4551, allocations: 272.9 kB / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.945e-05/0.4552, allocations: 38.52 kB / 0.8747 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.4553, allocations: 16.86 kB / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.4553, allocations: 0 / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.4554, allocations: 59.48 kB / 0.8748 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.4554, allocations: 0 / 0.8748 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001685/0.4556, allocations: 73.61 kB / 0.8749 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4556, allocations: 102.8 kB / 0.875 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.4557, allocations: 100.9 kB / 0.8751 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.4557, allocations: 25.7 kB / 0.8751 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.4558, allocations: 80.14 kB / 0.8752 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.4558, allocations: 19.75 kB / 0.8752 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.4558, allocations: 0 / 0.8752 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.4559, allocations: 319.3 kB / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.4559, allocations: 16 kB / 0.8755 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.456, allocations: 30.58 kB / 0.8756 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/0.456, allocations: 11.98 kB / 0.8756 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.456, allocations: 3.938 kB / 0.8756 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.341e-05/0.4561, allocations: 66.06 kB / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4561, allocations: 4 kB / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4562, allocations: 4 kB / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4562, allocations: 0 / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.4562, allocations: 8.031 kB / 0.8756 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.4563, allocations: 4 kB / 0.8757 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/0.4564, allocations: 7.984 kB / 0.8757 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4564, allocations: 4 kB / 0.8757 GB, free: 10.31 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 6.754e-05/0.4564, allocations: 107.3 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.4565, allocations: 7.906 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.4565, allocations: 7.5 kB / 0.8758 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4565, allocations: 0 / 0.8758 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4565, allocations: 8 kB / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4565, allocations: 3.984 kB / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.4566, allocations: 165.6 kB / 0.876 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4566, allocations: 4 kB / 0.876 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.4567, allocations: 0 / 0.876 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4567, allocations: 0 / 0.876 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.4567, allocations: 4 kB / 0.876 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4567, allocations: 3.938 kB / 0.876 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4567, allocations: 4.031 kB / 0.876 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.4568, allocations: 85.11 kB / 0.876 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.4569, allocations: 96.95 kB / 0.8761 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.4569, allocations: 0 / 0.8761 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.457, allocations: 11.98 kB / 0.8762 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.4571, allocations: 4 kB / 0.8762 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.4571, allocations: 3.984 kB / 0.8762 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.4571, allocations: 87.28 kB / 0.8762 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4571, allocations: 4 kB / 0.8762 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001749/0.4573, allocations: 12 kB / 0.8763 GB, free: 9.613 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.0003737/0.4577, allocations: 0.6358 MB / 0.8769 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.536e-05/0.4578, allocations: 28.19 kB / 0.8769 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4578, allocations: 3.938 kB / 0.8769 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.4578, allocations: 27.86 kB / 0.8769 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.458, allocations: 5.422 kB / 0.8769 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.4582, allocations: 100.4 kB / 0.877 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.4584, allocations: 0.6848 MB / 0.8777 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.4585, allocations: 8 kB / 0.8777 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.4585, allocations: 11.44 kB / 0.8777 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of SimCode: time 4.2e-07/0.4585, allocations: 0 / 0.8777 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.4693, allocations: 1.521 MB / 0.8792 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.4695, allocations: 204.1 kB / 0.8794 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.342/1.811, allocations: 8 kB / 0.8794 GB, free: 6.488 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)