Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.0009684/0.0009684, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 208.4 kB / 16.79 MB, free: 6.84 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.161/1.161, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6019/0.6019, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.97 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1119, allocations: 76.19 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00216/0.1141, allocations: 1.508 MB / 0.5573 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000626/0.1147, allocations: 498.7 kB / 0.5578 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.1148, allocations: 0 / 0.5578 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.1148, allocations: 3.984 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.115, allocations: 15.94 kB / 0.5578 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.766e-05/0.1151, allocations: 23.97 kB / 0.5578 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.259e-05/0.1151, allocations: 47.84 kB / 0.5579 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.252e-05/0.1152, allocations: 8 kB / 0.5579 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.1153, allocations: 27.84 kB / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.1154, allocations: 23.91 kB / 0.5579 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1154, allocations: 4 kB / 0.5579 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.1154, allocations: 4 kB / 0.558 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.1154, allocations: 4 kB / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.1155, allocations: 23.91 kB / 0.558 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.165e-05/0.1155, allocations: 44.09 kB / 0.558 GB, free: 8.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1156, allocations: 0 / 0.558 GB, free: 8.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1156, allocations: 3.938 kB / 0.558 GB, free: 8.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1156, allocations: 0 / 0.558 GB, free: 8.504 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004782/0.1161, allocations: 347.5 kB / 0.5584 GB, free: 8.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1161, allocations: 16.02 kB / 0.5584 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1161, allocations: 38.75 kB / 0.5584 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.1162, allocations: 4.875 kB / 0.5584 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1163, allocations: 172.2 kB / 0.5586 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1163, allocations: 4.375 kB / 0.5586 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1163, allocations: 4.375 kB / 0.5586 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1164, allocations: 69.7 kB / 0.5587 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.1164, allocations: 0 / 0.5587 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1164, allocations: 0 / 0.5587 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1165, allocations: 0 / 0.5587 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/0.1165, allocations: 27.98 kB / 0.5587 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.1168, allocations: 272.8 kB / 0.5589 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.117, allocations: 62.61 kB / 0.559 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.1171, allocations: 28.84 kB / 0.559 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1171, allocations: 4 kB / 0.559 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.1172, allocations: 67.39 kB / 0.5591 GB, free: 7.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1172, allocations: 0 / 0.5591 GB, free: 7.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002018/0.1174, allocations: 101.5 kB / 0.5592 GB, free: 7.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.1175, allocations: 51.41 kB / 0.5592 GB, free: 7.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.1175, allocations: 101.9 kB / 0.5593 GB, free: 6.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1175, allocations: 25.7 kB / 0.5594 GB, free: 6.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.1176, allocations: 88.12 kB / 0.5594 GB, free: 6.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.1176, allocations: 19.75 kB / 0.5595 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.1177, allocations: 21.7 kB / 0.5595 GB, free: 6.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.1178, allocations: 322.8 kB / 0.5598 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.1178, allocations: 8 kB / 0.5598 GB, free: 6.457 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.1178, allocations: 24.05 kB / 0.5598 GB, free: 6.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.1179, allocations: 36.84 kB / 0.5599 GB, free: 6.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1179, allocations: 0 / 0.5599 GB, free: 6.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001074/0.118, allocations: 73.53 kB / 0.5599 GB, free: 6.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.118, allocations: 9.875 kB / 0.5599 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.118, allocations: 0 / 0.5599 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.1181, allocations: 4 kB / 0.5599 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.1181, allocations: 11.98 kB / 0.56 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1181, allocations: 240 / 0.56 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.1182, allocations: 0 / 0.56 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1182, allocations: 8.188 kB / 0.56 GB, free: 6.285 MB / 430.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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.812e-05/0.1183, allocations: 117.8 kB / 0.5601 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.1183, allocations: 15.84 kB / 0.5601 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.1185, allocations: 105.8 kB / 0.5602 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1185, allocations: 3.984 kB / 0.5602 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1185, allocations: 4 kB / 0.5602 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1185, allocations: 0 / 0.5602 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1187, allocations: 185.5 kB / 0.5604 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1187, allocations: 4 kB / 0.5604 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.1187, allocations: 15.92 kB / 0.5604 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1187, allocations: 0 / 0.5604 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1188, allocations: 0 / 0.5604 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1188, allocations: 4 kB / 0.5604 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1188, allocations: 4 kB / 0.5604 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1189, allocations: 117 kB / 0.5605 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.119, allocations: 88.94 kB / 0.5606 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.119, allocations: 8 kB / 0.5606 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.1191, allocations: 0 / 0.5606 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.1191, allocations: 7.984 kB / 0.5606 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1191, allocations: 8 kB / 0.5606 GB, free: 5.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.463e-05/0.1192, allocations: 83.28 kB / 0.5607 GB, free: 5.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1192, allocations: 0 / 0.5607 GB, free: 5.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001756/0.1193, allocations: 8 kB / 0.5607 GB, free: 5.418 MB / 430.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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0003731/0.1197, allocations: 0.6594 MB / 0.5614 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1198, allocations: 51.92 kB / 0.5614 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1198, allocations: 0 / 0.5614 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.1199, allocations: 35.92 kB / 0.5614 GB, free: 4.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.12, allocations: 8 kB / 0.5614 GB, free: 4.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.121, allocations: 1.231 MB / 0.5626 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.1212, allocations: 0.6848 MB / 0.5633 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.091e-05/0.1213, allocations: 8 kB / 0.5633 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1213, allocations: 15.44 kB / 0.5633 GB, free: 2.59 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1213, allocations: 0 / 0.5633 GB, free: 2.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1964/0.3177, allocations: 1.465 MB / 0.5648 GB, free: 1.281 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.3179, allocations: 233.5 kB / 0.565 GB, free: 1.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/1.833, allocations: 0 / 0.565 GB, free: 1.02 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)