Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.00138/0.00138, allocations: 103.8 kB / 16.45 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.00134/0.00134, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.254/1.254, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.00229/0.00229, allocations: 286 kB / 303 MB, free: 9.52 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.069/1.069, allocations: 180.9 MB / 0.5261 GB, free: 14.77 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.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 98.36 kB / 0.7247 GB, free: 40.44 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1235, allocations: 94.16 MB / 0.8167 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004226/0.1277, allocations: 3.079 MB / 0.8197 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004287/0.132, allocations: 3.275 MB / 0.8229 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1321, allocations: 4 kB / 0.8229 GB, free: 15.28 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1324, allocations: 71.31 kB / 0.823 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000839/0.1332, allocations: 431.7 kB / 0.8234 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.1339, allocations: 389 kB / 0.8237 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000679/0.1346, allocations: 0.7064 MB / 0.8244 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1347, allocations: 74.61 kB / 0.8245 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.135, allocations: 287.1 kB / 0.8248 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.1355, allocations: 322.8 kB / 0.8251 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.202e-05/0.1356, allocations: 64 kB / 0.8251 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.1363, allocations: 0.4956 MB / 0.8256 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.1365, allocations: 171.5 kB / 0.8258 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.1367, allocations: 290.5 kB / 0.8261 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1378, allocations: 0.9812 MB / 0.827 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1378, allocations: 4 kB / 0.827 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1378, allocations: 3.938 kB / 0.827 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.1378, allocations: 0 / 0.827 GB, free: 11.02 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001841/0.1396, allocations: 0.9244 MB / 0.8279 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1397, allocations: 12.02 kB / 0.8279 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.1398, allocations: 94.66 kB / 0.828 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/0.1428, allocations: 0.5546 MB / 0.8286 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.144, allocations: 0.5587 MB / 0.8291 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.1442, allocations: 207.5 kB / 0.8293 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.1443, allocations: 40 kB / 0.8294 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.1456, allocations: 0.683 MB / 0.83 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1456, allocations: 0 / 0.83 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.1457, allocations: 16 kB / 0.83 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.1457, allocations: 16 kB / 0.8301 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.1474, allocations: 0.7767 MB / 0.8308 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.1507, allocations: 1.716 MB / 0.8325 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/0.1536, allocations: 0.9773 MB / 0.8334 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007921/0.1543, allocations: 338.3 kB / 0.8338 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/0.1562, allocations: 1.773 MB / 0.8355 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009441/0.1572, allocations: 458.8 kB / 0.8359 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 1.803e-06/0.1572, allocations: 0 / 0.8359 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.00259/0.1598, allocations: 1.069 MB / 0.837 GB, free: 196 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.1598, allocations: 115.3 kB / 0.8371 GB, free: 56 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.1602, allocations: 357.7 kB / 0.8374 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.1603, allocations: 41.7 kB / 0.8375 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1605, allocations: 225.4 kB / 0.8377 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.1606, allocations: 230 kB / 0.8379 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.1609, allocations: 142.6 kB / 0.838 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.161, allocations: 358.8 kB / 0.8384 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007704/0.1618, allocations: 313.8 kB / 0.8387 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/0.1627, allocations: 437.6 kB / 0.8391 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.1643, allocations: 0.7321 MB / 0.8398 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1643, allocations: 0 / 0.8398 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001944/0.1663, allocations: 0.8599 MB / 0.8407 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1663, allocations: 4 kB / 0.8407 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1663, allocations: 7.938 kB / 0.8407 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1663, allocations: 4 kB / 0.8407 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.1672, allocations: 191.6 kB / 0.8408 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.1672, allocations: 11.94 kB / 0.8409 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.1679, allocations: 95.69 kB / 0.841 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.168, allocations: 39.95 kB / 0.841 GB, free: 11.94 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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 0.0002473/0.1682, allocations: 194.5 kB / 0.8412 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1683, allocations: 47.67 kB / 0.8412 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.1709, allocations: 1.143 MB / 0.8423 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.1709, allocations: 8 kB / 0.8423 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1709, allocations: 3.938 kB / 0.8423 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1709, allocations: 3.984 kB / 0.8424 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.174, allocations: 1.751 MB / 0.8441 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.174, allocations: 0 / 0.8441 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009156/0.1749, allocations: 195.7 kB / 0.8442 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.1749, allocations: 7.938 kB / 0.8443 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.1749, allocations: 23.98 kB / 0.8443 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1749, allocations: 4 kB / 0.8443 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.175, allocations: 3.984 kB / 0.8443 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.1769, allocations: 1.006 MB / 0.8453 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.1773, allocations: 224.3 kB / 0.8455 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.1773, allocations: 16 kB / 0.8455 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.178, allocations: 59.94 kB / 0.8456 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1781, allocations: 68.84 kB / 0.8456 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.1781, allocations: 31.98 kB / 0.8457 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002666/0.1784, allocations: 251.2 kB / 0.8459 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1784, allocations: 0 / 0.8459 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006022/0.179, allocations: 227.6 kB / 0.8461 GB, free: 6.586 MB / 0.5919 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,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * 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.003706/0.1827, allocations: 1.951 MB / 0.848 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.1845, allocations: 0.7838 MB / 0.8488 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1845, allocations: 3.938 kB / 0.8488 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009107/0.1854, allocations: 441.4 kB / 0.8492 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1858, allocations: 71.78 kB / 0.8493 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008369/0.1942, allocations: 5.133 MB / 0.8543 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.1947, allocations: 0.8778 MB / 0.8551 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006451/0.1954, allocations: 172.6 kB / 0.8553 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.1958, allocations: 215.3 kB / 0.8555 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.1958, allocations: 4 kB / 0.8555 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.2376, allocations: 14.65 MB / 0.8698 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.391, allocations: 3.938 kB / 0.8698 GB, free: 14.36 MB / 0.6231 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.071675380226225] Failed to read output from testmodel.py, exit status != 0: 8.536224081646651 8.549012777 8.408728089 Calling exit ...