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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006867/0.0006867, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00386/0.00386, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.162/1.162, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001587/0.001587, allocations: 259.3 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8386/0.8386, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003929, allocations: 15.3 kB / 0.5988 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001255/0.1241, allocations: 1.173 MB / 0.6864 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.1244, allocations: 172 kB / 0.6866 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.1245, allocations: 0 / 0.6866 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.1245, allocations: 7.922 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1247, allocations: 20.92 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.1248, allocations: 50.8 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.1249, allocations: 49.52 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.125, allocations: 19.86 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.359e-05/0.125, allocations: 19.92 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.1251, allocations: 20.91 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1251, allocations: 4 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.1252, allocations: 4 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.1252, allocations: 9.594 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1252, allocations: 49.61 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.394e-05/0.1253, allocations: 47.86 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1253, allocations: 3.938 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1253, allocations: 0.75 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1253, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003918/0.1257, allocations: 342.3 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1258, allocations: 8.031 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.1258, allocations: 34.75 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.1258, allocations: 4.938 kB / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.1259, allocations: 164.4 kB / 0.6874 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.126, allocations: 4.984 kB / 0.6874 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.126, allocations: 8.969 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1261, allocations: 75.34 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1261, allocations: 3.938 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1261, allocations: 4 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1261, allocations: 0 / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.603e-05/0.1262, allocations: 12 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.1265, allocations: 282.7 kB / 0.6877 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.1266, allocations: 47.02 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.1266, allocations: 17.58 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.1266, allocations: 0.875 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.1268, allocations: 60.11 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1268, allocations: 1.406 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001798/0.127, allocations: 73.67 kB / 0.6879 GB, free: 12.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.127, allocations: 110.8 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.1271, allocations: 110.5 kB / 0.6882 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1271, allocations: 29.7 kB / 0.6882 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.1271, allocations: 91.92 kB / 0.6883 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.1272, allocations: 11.91 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.1272, allocations: 9.719 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.1273, allocations: 322.8 kB / 0.6886 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.1273, allocations: 12 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.1274, allocations: 30.56 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.463e-05/0.1274, allocations: 24.86 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1274, allocations: 4.031 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.884e-05/0.1275, allocations: 61.62 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.1275, allocations: 7.938 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1275, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.1275, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.1276, allocations: 12 kB / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1276, allocations: 0 / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1277, allocations: 15.89 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1278, allocations: 0 / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/0.1278, allocations: 127.1 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.1278, allocations: 0 / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.836e-05/0.1279, allocations: 7.5 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1279, allocations: 0 / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1279, allocations: 0 / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1279, allocations: 0 / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.128, allocations: 173.6 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.128, allocations: 0 / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.128, allocations: 4 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.128, allocations: 4 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.1281, allocations: 448 / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1281, allocations: 0 / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1281, allocations: 7.938 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1282, allocations: 93.05 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.1282, allocations: 93 kB / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1283, allocations: 0 / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1284, allocations: 15.98 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1284, allocations: 0 / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1284, allocations: 4 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.1285, allocations: 91.2 kB / 0.6893 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1285, allocations: 0 / 0.6893 GB, free: 10.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001775/0.1287, allocations: 12 kB / 0.6894 GB, free: 10.38 MB / 494.1 MB 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003122/0.129, allocations: 0.6361 MB / 0.69 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.1291, allocations: 31.98 kB / 0.69 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1291, allocations: 0 / 0.69 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.1291, allocations: 15.94 kB / 0.69 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1293, allocations: 7 kB / 0.69 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008501/0.1301, allocations: 1.175 MB / 0.6912 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.1303, allocations: 0.6848 MB / 0.6919 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.1303, allocations: 4 kB / 0.6919 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.1304, allocations: 19.42 kB / 0.6919 GB, free: 7.664 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1304, allocations: 0 / 0.6919 GB, free: 7.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2085/0.3389, allocations: 1.552 MB / 0.6934 GB, free: 6.312 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.3391, allocations: 248 kB / 0.6936 GB, free: 6.051 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.926, allocations: 0 / 0.6936 GB, free: 6.051 MB / 494.1 MB (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/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)