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.004748/0.004748, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001321/0.001321, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 283.2 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 104.2 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1488, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002209/0.1511, allocations: 1.46 MB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003825/0.1515, allocations: 191.4 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.1515, allocations: 0 / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.1516, allocations: 3.938 kB / 0.7675 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1517, allocations: 15.86 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.1519, allocations: 67.22 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.152, allocations: 59.84 kB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.836e-05/0.1521, allocations: 8.266 kB / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.1522, allocations: 27.88 kB / 0.7677 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.1522, allocations: 23.89 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1522, allocations: 4 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.1523, allocations: 8 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.1523, allocations: 7.984 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.1523, allocations: 23.88 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.556e-05/0.1524, allocations: 51.73 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1524, allocations: 4 kB / 0.7678 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1525, allocations: 0 / 0.7678 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1525, allocations: 0 / 0.7678 GB, free: 6.969 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.0004813/0.1529, allocations: 355.4 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.153, allocations: 8.031 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.153, allocations: 30.75 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.1531, allocations: 8.891 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1532, allocations: 176.3 kB / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1532, allocations: 384 / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1532, allocations: 8.375 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1534, allocations: 72.75 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1534, allocations: 3.938 kB / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1534, allocations: 0 / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1534, allocations: 4 kB / 0.7685 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.268e-05/0.1535, allocations: 19.98 kB / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1538, allocations: 276.8 kB / 0.7687 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.91e-05/0.1539, allocations: 38.56 kB / 0.7688 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.1539, allocations: 16.86 kB / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-06/0.154, allocations: 0 / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.1541, allocations: 63.48 kB / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1541, allocations: 0 / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001811/0.1543, allocations: 77.61 kB / 0.7689 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.1544, allocations: 106.8 kB / 0.769 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.1544, allocations: 101.8 kB / 0.7691 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1545, allocations: 29.7 kB / 0.7692 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.1545, allocations: 88.09 kB / 0.7692 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.1545, allocations: 11.94 kB / 0.7693 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.1546, allocations: 25.64 kB / 0.7693 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1547, allocations: 322.8 kB / 0.7696 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.1547, allocations: 12 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.1548, allocations: 34.56 kB / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.1549, allocations: 33.17 kB / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1549, allocations: 0 / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.635e-05/0.155, allocations: 57.88 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.155, allocations: 4 kB / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.155, allocations: 0 / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.155, allocations: 0 / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.1551, allocations: 16.02 kB / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1551, allocations: 0 / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1552, allocations: 23.81 kB / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1552, allocations: 0 / 0.7698 GB, free: 4.715 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.63e-05/0.1553, allocations: 114.4 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.1553, allocations: 11.92 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.1553, allocations: 7.5 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1554, allocations: 0 / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1554, allocations: 0 / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1554, allocations: 4 kB / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.1555, allocations: 177.6 kB / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1555, allocations: 0 / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.1555, allocations: 0 / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1555, allocations: 4 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1556, allocations: 0 / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1556, allocations: 0 / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1556, allocations: 0 / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.1557, allocations: 97 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.1558, allocations: 85.09 kB / 0.7702 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1558, allocations: 4 kB / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1559, allocations: 11.98 kB / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.1559, allocations: 0 / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1559, allocations: 12 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.156, allocations: 87.27 kB / 0.7703 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.156, allocations: 0 / 0.7703 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002528/0.1563, allocations: 12 kB / 0.7704 GB, free: 4.004 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.0004007/0.1567, allocations: 0.628 MB / 0.771 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.1568, allocations: 35.92 kB / 0.771 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1568, allocations: 4 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.1568, allocations: 12 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.157, allocations: 4 kB / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.158, allocations: 1.181 MB / 0.7722 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1583, allocations: 0.6846 MB / 0.7728 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.1583, allocations: 4 kB / 0.7728 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.1584, allocations: 7.438 kB / 0.7729 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1584, allocations: 4 kB / 0.7729 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6636/0.8219, allocations: 1.784 MB / 0.7746 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.818/9.64, allocations: 5.25 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)