Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002301/0.002301, allocations: 293.5 kB / 303 MB, free: 9.484 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 180.9 MB / 0.5261 GB, free: 14.67 MB / 382.1 MB " [Timeout remaining time 179] 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.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 99.08 kB / 0.7248 GB, free: 40.08 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.129, allocations: 94.15 MB / 0.8167 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002612/0.1316, allocations: 1.616 MB / 0.8183 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.1324, allocations: 0.551 MB / 0.8188 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.1325, allocations: 0 / 0.8188 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.1325, allocations: 3.938 kB / 0.8188 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1327, allocations: 50.56 kB / 0.8189 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.1328, allocations: 43.88 kB / 0.8189 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.133, allocations: 107.6 kB / 0.819 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.1331, allocations: 19.98 kB / 0.8191 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.1331, allocations: 43.84 kB / 0.8191 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.1332, allocations: 47.83 kB / 0.8191 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1333, allocations: 8 kB / 0.8192 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.1333, allocations: 8 kB / 0.8192 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.1333, allocations: 31.89 kB / 0.8192 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.1334, allocations: 43.8 kB / 0.8192 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1335, allocations: 95.83 kB / 0.8193 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1335, allocations: 0 / 0.8193 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1335, allocations: 0 / 0.8193 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.1335, allocations: 4 kB / 0.8193 GB, free: 2.719 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006927/0.1342, allocations: 407.1 kB / 0.8197 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1343, allocations: 8.031 kB / 0.8197 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.1343, allocations: 38.75 kB / 0.8198 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1343, allocations: 8.891 kB / 0.8198 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1345, allocations: 180.3 kB / 0.8199 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1345, allocations: 4.375 kB / 0.8199 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1345, allocations: 12.31 kB / 0.82 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1347, allocations: 85.77 kB / 0.82 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1347, allocations: 0 / 0.82 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.1347, allocations: 4 kB / 0.82 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1347, allocations: 4 kB / 0.82 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1348, allocations: 47.97 kB / 0.8201 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.1353, allocations: 344.6 kB / 0.8204 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1356, allocations: 102.7 kB / 0.8205 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/0.1356, allocations: 44.84 kB / 0.8206 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1356, allocations: 3.938 kB / 0.8206 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.1358, allocations: 99.22 kB / 0.8207 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1358, allocations: 0 / 0.8207 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002999/0.1361, allocations: 153.5 kB / 0.8208 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1362, allocations: 51.41 kB / 0.8209 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1363, allocations: 129.7 kB / 0.821 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1363, allocations: 33.7 kB / 0.821 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.1364, allocations: 96.31 kB / 0.8211 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.1364, allocations: 35.86 kB / 0.8211 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.1364, allocations: 25.72 kB / 0.8212 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1366, allocations: 322.8 kB / 0.8215 GB, free: 300 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.1366, allocations: 23.98 kB / 0.8215 GB, free: 276 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.1367, allocations: 35.98 kB / 0.8215 GB, free: 240 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1368, allocations: 64.84 kB / 0.8216 GB, free: 172 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1368, allocations: 4 kB / 0.8216 GB, free: 168 kB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001697/0.137, allocations: 110.7 kB / 0.8217 GB, free: 52 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.137, allocations: 8 kB / 0.8217 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.137, allocations: 0 / 0.8217 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.137, allocations: 3.938 kB / 0.8217 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1371, allocations: 23.98 kB / 0.8217 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1371, allocations: 0 / 0.8217 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1372, allocations: 11.88 kB / 0.8217 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.1372, allocations: 8.031 kB / 0.8218 GB, free: 15.99 MB / 0.5762 GB 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 8.886e-05/0.1373, allocations: 121.8 kB / 0.8219 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.1373, allocations: 11.94 kB / 0.8219 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.1376, allocations: 145.9 kB / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1376, allocations: 3.984 kB / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1376, allocations: 0 / 0.822 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1376, allocations: 7.938 kB / 0.822 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1378, allocations: 205.6 kB / 0.8222 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1378, allocations: 0 / 0.8222 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.1379, allocations: 16 kB / 0.8222 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1379, allocations: 4 kB / 0.8222 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1379, allocations: 7.984 kB / 0.8223 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1379, allocations: 4 kB / 0.8223 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1379, allocations: 3.938 kB / 0.8223 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1381, allocations: 167.8 kB / 0.8224 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1382, allocations: 89 kB / 0.8225 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1382, allocations: 3.984 kB / 0.8225 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.1383, allocations: 8 kB / 0.8225 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1383, allocations: 15.92 kB / 0.8225 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.1383, allocations: 11.98 kB / 0.8225 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.314e-05/0.1384, allocations: 99.2 kB / 0.8226 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1384, allocations: 0 / 0.8226 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001978/0.1386, allocations: 24 kB / 0.8227 GB, free: 14.96 MB / 0.5762 GB 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.0005258/0.1391, allocations: 0.6944 MB / 0.8233 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1393, allocations: 83.91 kB / 0.8234 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1393, allocations: 0 / 0.8234 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.821e-05/0.1394, allocations: 54.83 kB / 0.8235 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.1395, allocations: 11.94 kB / 0.8235 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.141, allocations: 1.449 MB / 0.8249 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1412, allocations: 0.7001 MB / 0.8256 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.331e-05/0.1413, allocations: 16.41 kB / 0.8256 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.1414, allocations: 35.42 kB / 0.8256 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.1414, allocations: 0 / 0.8256 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.1642, allocations: 2.323 MB / 0.8279 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.427, allocations: 16.64 kB / 0.8279 GB, free: 9.613 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.955739350058138] Failed to read output from testmodel.py, exit status != 0: 7.502145363949239 7.514550011 7.378579662 Calling exit ...