Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.8035/0.8035, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001039/0.001039, allocations: 184.2 kB / 182.2 MB, free: 9.441 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.504/1.504, 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.0009465/0.0009465, allocations: 91.84 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 284.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.775e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3862, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.5168, allocations: 108.5 MB / 0.8634 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.5171, allocations: 82.05 kB / 0.8635 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007351/0.5245, allocations: 2.72 MB / 0.8662 GB, free: 480 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5245, allocations: 0 / 0.8662 GB, free: 480 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5245, allocations: 0 / 0.8662 GB, free: 480 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.0003191/0.5248, allocations: 338.4 kB / 0.8665 GB, free: 96 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5249, allocations: 15.97 kB / 0.8665 GB, free: 80 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.5249, allocations: 3.906 kB / 0.8665 GB, free: 76 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.5251, allocations: 167.1 kB / 0.8667 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.5251, allocations: 3.953 kB / 0.8667 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.5251, allocations: 0 / 0.8667 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.917e-05/0.5252, allocations: 12 kB / 0.8667 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.5253, allocations: 72.25 kB / 0.8668 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.5253, allocations: 0 / 0.8668 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5253, allocations: 0 / 0.8668 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5254, allocations: 7.922 kB / 0.8668 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.5257, allocations: 237.5 kB / 0.867 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.5258, allocations: 38.56 kB / 0.867 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.5258, allocations: 20.86 kB / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.5258, allocations: 0 / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.5259, allocations: 59.48 kB / 0.8671 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5259, allocations: 4 kB / 0.8671 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001568/0.5261, allocations: 53.62 kB / 0.8672 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.5262, allocations: 106.8 kB / 0.8673 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.5262, allocations: 101 kB / 0.8674 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5263, allocations: 25.7 kB / 0.8674 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.5263, allocations: 92.05 kB / 0.8675 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.5263, allocations: 7.844 kB / 0.8675 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5263, allocations: 0 / 0.8675 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5265, allocations: 318.8 kB / 0.8678 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.5265, allocations: 12 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.5265, allocations: 26.58 kB / 0.8678 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.5266, allocations: 11.97 kB / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5266, allocations: 4 kB / 0.8678 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.623e-05/0.5267, allocations: 61.58 kB / 0.8679 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5267, allocations: 11.94 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5267, allocations: 0 / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.5267, allocations: 448 / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.5268, allocations: 7.984 kB / 0.8679 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.5268, allocations: 0 / 0.8679 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.5269, allocations: 12 kB / 0.8679 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5269, allocations: 7.984 kB / 0.8679 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.068e-05/0.527, allocations: 105 kB / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.837e-05/0.5271, allocations: 69.48 kB / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.5271, allocations: 4 kB / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.5271, allocations: 4.125 kB / 0.8681 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5271, allocations: 0 / 0.8681 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5271, allocations: 0 / 0.8681 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5271, allocations: 3.984 kB / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.5272, allocations: 150.2 kB / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5273, allocations: 0 / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.5273, allocations: 8 kB / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5273, allocations: 0 / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.5273, allocations: 0 / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5273, allocations: 0 / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5273, allocations: 0 / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.5274, allocations: 85.02 kB / 0.8683 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.5275, allocations: 93.05 kB / 0.8684 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.5275, allocations: 0 / 0.8684 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.5276, allocations: 15.98 kB / 0.8684 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.5277, allocations: 4 kB / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.5277, allocations: 0 / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.5277, allocations: 91.2 kB / 0.8685 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5277, allocations: 0 / 0.8685 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001862/0.5279, allocations: 16 kB / 0.8686 GB, free: 13.71 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.0003687/0.5283, allocations: 0.6248 MB / 0.8692 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.5284, allocations: 24 kB / 0.8692 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5284, allocations: 0 / 0.8692 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.5284, allocations: 15.94 kB / 0.8692 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.5285, allocations: 11.94 kB / 0.8692 GB, free: 13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.5288, allocations: 97.58 kB / 0.8693 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.5291, allocations: 0.6846 MB / 0.87 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.5291, allocations: 11.94 kB / 0.87 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.5292, allocations: 19.42 kB / 0.87 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.5292, allocations: 0 / 0.87 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.5467, allocations: 1.159 MB / 0.8711 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.5469, allocations: 183.5 kB / 0.8713 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.099, allocations: 0.6875 kB / 0.8713 GB, free: 10.79 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)