Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.0009299/0.0009299, allocations: 98.42 kB / 16.02 MB, free: 80 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.001071/0.001071, allocations: 182.6 kB / 16.92 MB, free: 6.691 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.233/1.233, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6405/0.6405, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002712, allocations: 9.031 kB / 496 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001481/0.1199, allocations: 1.309 MB / 0.5613 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.1207, allocations: 0.5144 MB / 0.5618 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.1208, allocations: 0 / 0.5618 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.1208, allocations: 11.86 kB / 0.5618 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.1211, allocations: 35.77 kB / 0.5619 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.1212, allocations: 43.91 kB / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.1213, allocations: 99.69 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.1214, allocations: 15.98 kB / 0.562 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1215, allocations: 47.78 kB / 0.5621 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.1216, allocations: 39.83 kB / 0.5621 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1216, allocations: 4 kB / 0.5621 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.1217, allocations: 4 kB / 0.5621 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.1217, allocations: 19.91 kB / 0.5621 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.467e-05/0.1218, allocations: 73.48 kB / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1219, allocations: 79.95 kB / 0.5623 GB, free: 6.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1219, allocations: 4 kB / 0.5623 GB, free: 6.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1219, allocations: 0 / 0.5623 GB, free: 6.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1219, allocations: 0 / 0.5623 GB, free: 6.648 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006439/0.1226, allocations: 391.2 kB / 0.5627 GB, free: 6.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1226, allocations: 8.031 kB / 0.5627 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.1227, allocations: 46.67 kB / 0.5627 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.1227, allocations: 8.844 kB / 0.5627 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1228, allocations: 184.2 kB / 0.5629 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1229, allocations: 8.359 kB / 0.5629 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1229, allocations: 12.31 kB / 0.5629 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1231, allocations: 93.7 kB / 0.563 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1231, allocations: 4 kB / 0.563 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1231, allocations: 4 kB / 0.563 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1231, allocations: 4 kB / 0.563 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1232, allocations: 47.91 kB / 0.5631 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.1237, allocations: 340.7 kB / 0.5634 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.124, allocations: 114.7 kB / 0.5635 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.124, allocations: 40.84 kB / 0.5635 GB, free: 5.207 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1241, allocations: 0 / 0.5635 GB, free: 5.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.1242, allocations: 99.06 kB / 0.5636 GB, free: 5.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.019e-05/0.1243, allocations: 4 kB / 0.5636 GB, free: 5.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002833/0.1245, allocations: 149.4 kB / 0.5638 GB, free: 4.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1246, allocations: 55.39 kB / 0.5638 GB, free: 4.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.1247, allocations: 121.8 kB / 0.5639 GB, free: 4.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1247, allocations: 33.7 kB / 0.564 GB, free: 4.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.1247, allocations: 96.34 kB / 0.5641 GB, free: 4.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1248, allocations: 35.5 kB / 0.5641 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.1248, allocations: 17.7 kB / 0.5641 GB, free: 4.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.1249, allocations: 318.8 kB / 0.5644 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.125, allocations: 31.98 kB / 0.5645 GB, free: 4.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.125, allocations: 27.98 kB / 0.5645 GB, free: 4.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1251, allocations: 68.78 kB / 0.5645 GB, free: 4.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1252, allocations: 0 / 0.5645 GB, free: 4.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001626/0.1253, allocations: 113.1 kB / 0.5647 GB, free: 3.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1253, allocations: 9.875 kB / 0.5647 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1253, allocations: 0 / 0.5647 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.1254, allocations: 0 / 0.5647 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.1255, allocations: 19.98 kB / 0.5647 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1255, allocations: 0 / 0.5647 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1256, allocations: 15.92 kB / 0.5647 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1256, allocations: 11.94 kB / 0.5647 GB, free: 3.934 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.894e-05/0.1257, allocations: 113.8 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.1257, allocations: 7.906 kB / 0.5648 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.1259, allocations: 145.9 kB / 0.565 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.126, allocations: 4 kB / 0.565 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.126, allocations: 4 kB / 0.565 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.126, allocations: 3.938 kB / 0.565 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1261, allocations: 217.4 kB / 0.5652 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1262, allocations: 0 / 0.5652 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.1262, allocations: 23.92 kB / 0.5652 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1262, allocations: 0 / 0.5652 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1263, allocations: 4 kB / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1263, allocations: 0 / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1263, allocations: 0 / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1265, allocations: 164.9 kB / 0.5654 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.1265, allocations: 89 kB / 0.5655 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1266, allocations: 8 kB / 0.5655 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1267, allocations: 8 kB / 0.5655 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.1267, allocations: 23.84 kB / 0.5655 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1267, allocations: 4 kB / 0.5655 GB, free: 3.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.155e-05/0.1268, allocations: 99.27 kB / 0.5656 GB, free: 2.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1268, allocations: 0 / 0.5656 GB, free: 2.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.127, allocations: 24 kB / 0.5656 GB, free: 2.906 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004491/0.1275, allocations: 0.6944 MB / 0.5663 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1276, allocations: 90.89 kB / 0.5664 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1276, allocations: 4 kB / 0.5664 GB, free: 2.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.1277, allocations: 55.86 kB / 0.5664 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1279, allocations: 13.91 kB / 0.5664 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1292, allocations: 1.474 MB / 0.5679 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1294, allocations: 0.6965 MB / 0.5686 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.1295, allocations: 12.55 kB / 0.5686 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.1295, allocations: 31.42 kB / 0.5686 GB, free: 15.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1295, allocations: 0 / 0.5686 GB, free: 15.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.329/0.4585, allocations: 1.999 MB / 0.5706 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.4588, allocations: 218 kB / 0.5708 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.141, allocations: 0 / 0.5708 GB, free: 13.64 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)