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.001298/0.001298, allocations: 106.2 kB / 16.4 MB, free: 6.496 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.001617/0.001617, allocations: 197.2 kB / 17.34 MB, free: 5.766 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7603/0.7603, allocations: 115.3 MB / 406.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.8 kB / 0.5572 GB, free: 32.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1642, allocations: 76.18 MB / 0.6316 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002622/0.1669, allocations: 1.579 MB / 0.6331 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.1679, allocations: 0.5453 MB / 0.6337 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.168, allocations: 0 / 0.6337 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.168, allocations: 3.938 kB / 0.6337 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.1683, allocations: 51.69 kB / 0.6337 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.1684, allocations: 31.97 kB / 0.6338 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1686, allocations: 115.6 kB / 0.6339 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1687, allocations: 23.88 kB / 0.6339 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1688, allocations: 47.84 kB / 0.6339 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.169, allocations: 51.81 kB / 0.634 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.169, allocations: 12 kB / 0.634 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.169, allocations: 8 kB / 0.634 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.169, allocations: 19.92 kB / 0.634 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.1691, allocations: 47.77 kB / 0.6341 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1693, allocations: 95.06 kB / 0.6342 GB, free: 2.391 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1693, allocations: 0 / 0.6342 GB, free: 2.391 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1693, allocations: 0 / 0.6342 GB, free: 2.391 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1693, allocations: 0 / 0.6342 GB, free: 2.391 MB / 478.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.0007196/0.17, allocations: 399.5 kB / 0.6345 GB, free: 1.953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1701, allocations: 15.97 kB / 0.6346 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.1701, allocations: 38.73 kB / 0.6346 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.1702, allocations: 12.75 kB / 0.6346 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1703, allocations: 176.3 kB / 0.6348 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1703, allocations: 8.375 kB / 0.6348 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.1703, allocations: 8.312 kB / 0.6348 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1705, allocations: 89.7 kB / 0.6349 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1705, allocations: 4 kB / 0.6349 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1706, allocations: 4 kB / 0.6349 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1706, allocations: 7.938 kB / 0.6349 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1707, allocations: 43.97 kB / 0.6349 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.1712, allocations: 344.6 kB / 0.6353 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.1715, allocations: 110.7 kB / 0.6354 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.1716, allocations: 40.84 kB / 0.6354 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1716, allocations: 0 / 0.6354 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.1718, allocations: 107.2 kB / 0.6355 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1718, allocations: 0 / 0.6355 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003297/0.1721, allocations: 145.4 kB / 0.6357 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1722, allocations: 55.39 kB / 0.6357 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.1723, allocations: 133.8 kB / 0.6358 GB, free: 492 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1723, allocations: 25.7 kB / 0.6359 GB, free: 460 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.1724, allocations: 92.36 kB / 0.6359 GB, free: 360 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1724, allocations: 31.7 kB / 0.636 GB, free: 328 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.1725, allocations: 25.7 kB / 0.636 GB, free: 296 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1726, allocations: 318.8 kB / 0.6363 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.1726, allocations: 31.98 kB / 0.6363 GB, free: 15.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.1727, allocations: 27.98 kB / 0.6364 GB, free: 15.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1728, allocations: 71.36 kB / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1728, allocations: 0 / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001702/0.173, allocations: 113.6 kB / 0.6365 GB, free: 15.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.173, allocations: 7.984 kB / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.173, allocations: 0 / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1731, allocations: 0 / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1732, allocations: 23.92 kB / 0.6366 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1732, allocations: 4 kB / 0.6366 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1733, allocations: 11.84 kB / 0.6366 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1733, allocations: 12 kB / 0.6366 GB, free: 15.66 MB / 494.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 9.08e-05/0.1734, allocations: 117.8 kB / 0.6367 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.1734, allocations: 7.906 kB / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.1737, allocations: 144.8 kB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.1737, allocations: 4 kB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1737, allocations: 3.938 kB / 0.6369 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1737, allocations: 7.922 kB / 0.6369 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.1739, allocations: 217.5 kB / 0.6371 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1739, allocations: 7.984 kB / 0.6371 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.174, allocations: 16 kB / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.174, allocations: 0 / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.174, allocations: 4 kB / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.174, allocations: 0 / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1741, allocations: 3.984 kB / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1743, allocations: 156.9 kB / 0.6373 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1743, allocations: 88.95 kB / 0.6373 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1744, allocations: 8 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1745, allocations: 7.984 kB / 0.6374 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.1745, allocations: 19.92 kB / 0.6374 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1746, allocations: 4 kB / 0.6374 GB, free: 14.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.072e-05/0.1746, allocations: 99.27 kB / 0.6375 GB, free: 14.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1746, allocations: 0 / 0.6375 GB, free: 14.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000206/0.1748, allocations: 20 kB / 0.6375 GB, free: 14.64 MB / 494.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.000512/0.1754, allocations: 0.7085 MB / 0.6382 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1756, allocations: 82.34 kB / 0.6383 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1756, allocations: 0 / 0.6383 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.1757, allocations: 55.92 kB / 0.6383 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.1758, allocations: 11.94 kB / 0.6383 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1773, allocations: 1.464 MB / 0.6398 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1775, allocations: 0.7002 MB / 0.6404 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.1776, allocations: 8.547 kB / 0.6404 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1777, allocations: 31.42 kB / 0.6405 GB, free: 11.45 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1777, allocations: 0 / 0.6405 GB, free: 11.45 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.1968, allocations: 2.34 MB / 0.6428 GB, free: 9.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.859, allocations: 17.22 kB / 0.6428 GB, free: 9.238 MB / 494.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)