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.005588/0.005588, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001639/0.001639, allocations: 196 kB / 16.67 MB, free: 5.93 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 287.1 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9267/0.9267, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 96.25 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1687, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002574/0.1713, allocations: 1.459 MB / 0.7673 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004275/0.1718, allocations: 187.4 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.1718, allocations: 0 / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.1719, allocations: 3.938 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1721, allocations: 31.86 kB / 0.7675 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.1723, allocations: 54.03 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.1724, allocations: 51.84 kB / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.1725, allocations: 15.97 kB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.1726, allocations: 23.92 kB / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.1727, allocations: 23.86 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1727, allocations: 7.938 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.1727, allocations: 8 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.1728, allocations: 11.97 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.1728, allocations: 23.88 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1729, allocations: 51.84 kB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.173, allocations: 4 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.173, allocations: 0 / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.173, allocations: 0 / 0.7678 GB, free: 6.973 MB / 0.5606 GB 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.000508/0.1735, allocations: 347.4 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1735, allocations: 8.031 kB / 0.7681 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1736, allocations: 38.75 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1736, allocations: 8.828 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1737, allocations: 168.4 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1738, allocations: 384 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1738, allocations: 4.375 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1739, allocations: 72.75 kB / 0.7684 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1739, allocations: 7.938 kB / 0.7684 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.174, allocations: 4 kB / 0.7684 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.174, allocations: 4 kB / 0.7684 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.174, allocations: 15.98 kB / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.1744, allocations: 276.8 kB / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.1745, allocations: 34.56 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.1745, allocations: 16.86 kB / 0.7688 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.1746, allocations: 0 / 0.7688 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.1747, allocations: 71.47 kB / 0.7688 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.1747, allocations: 0 / 0.7688 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002542/0.175, allocations: 69.62 kB / 0.7689 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.1751, allocations: 106.8 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.36e-05/0.1751, allocations: 105.8 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1752, allocations: 29.7 kB / 0.7691 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.1752, allocations: 84.08 kB / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1752, allocations: 23.73 kB / 0.7692 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1753, allocations: 17.72 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.1754, allocations: 326.8 kB / 0.7696 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.1754, allocations: 8 kB / 0.7696 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.1755, allocations: 30.81 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/0.1755, allocations: 32.92 kB / 0.7696 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1755, allocations: 0 / 0.7696 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.803e-05/0.1756, allocations: 65.72 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1757, allocations: 7.938 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1757, allocations: 0 / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1757, allocations: 0 / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.1757, allocations: 8 kB / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1758, allocations: 0 / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1759, allocations: 7.984 kB / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1759, allocations: 4 kB / 0.7697 GB, free: 4.738 MB / 0.5606 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 (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 8.219e-05/0.176, allocations: 122.4 kB / 0.7698 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.176, allocations: 7.906 kB / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.176, allocations: 3.5 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.176, allocations: 4 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.176, allocations: 192 / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.176, allocations: 3.938 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1762, allocations: 181.5 kB / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1762, allocations: 0 / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.1762, allocations: 4 kB / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1762, allocations: 0 / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1762, allocations: 0 / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1762, allocations: 0 / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1762, allocations: 4 kB / 0.77 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.1764, allocations: 93.05 kB / 0.7701 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.1764, allocations: 89 kB / 0.7702 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1764, allocations: 4 kB / 0.7702 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1766, allocations: 9.875 kB / 0.7702 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.1766, allocations: 8 kB / 0.7702 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1766, allocations: 0 / 0.7702 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.1767, allocations: 91.27 kB / 0.7703 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.715e-06/0.1767, allocations: 0 / 0.7703 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001876/0.1769, allocations: 19.88 kB / 0.7703 GB, free: 4.012 MB / 0.5606 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) * 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.0003774/0.1772, allocations: 0.6241 MB / 0.771 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1774, allocations: 31.98 kB / 0.771 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1774, allocations: 7.938 kB / 0.771 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.1774, allocations: 12 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1776, allocations: 7.938 kB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1786, allocations: 1.173 MB / 0.7722 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.1788, allocations: 0.6768 MB / 0.7728 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.1789, allocations: 8 kB / 0.7728 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.1789, allocations: 7.438 kB / 0.7728 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1789, allocations: 0 / 0.7728 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3184/0.4974, allocations: 1.79 MB / 0.7746 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/7.743, allocations: 4.094 kB / 0.7746 GB, free: 14.46 MB / 0.5606 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/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)