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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007873/0.0007873, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000836/0.000836, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001413/0.001413, allocations: 229.9 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6734/0.6734, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.403e-06/1.403e-06, allocations: 0 / 0.6462 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.504e-05, allocations: 3.969 kB / 0.6462 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.002611/0.002626, allocations: 2.903 MB / 0.6491 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.005539, allocations: 3.318 MB / 0.6523 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.005671, allocations: 2.594 kB / 0.6523 GB, free: 24.45 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.0002682/0.005939, allocations: 73.36 kB / 0.6524 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007476/0.006686, allocations: 499.7 kB / 0.6529 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.007142, allocations: 383.6 kB / 0.6532 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.00761, allocations: 0.7305 MB / 0.6539 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.007775, allocations: 77.39 kB / 0.654 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.008155, allocations: 421.5 kB / 0.6544 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.008438, allocations: 274 kB / 0.6547 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.008511, allocations: 63.09 kB / 0.6547 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.009085, allocations: 0.538 MB / 0.6553 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.0092, allocations: 172.7 kB / 0.6554 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.009339, allocations: 204 kB / 0.6556 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008278/0.01017, allocations: 1.15 MB / 0.6567 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01017, allocations: 0 / 0.6567 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.422e-06/0.01017, allocations: 0 / 0.6567 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.01018, allocations: 1.219 kB / 0.6568 GB, free: 21.49 MB / 0.5105 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.001159/0.01134, allocations: 0.8862 MB / 0.6576 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.01137, allocations: 10.06 kB / 0.6576 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.01144, allocations: 86.38 kB / 0.6577 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.01305, allocations: 0.5871 MB / 0.6583 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.01375, allocations: 0.5073 MB / 0.6588 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.01386, allocations: 358 kB / 0.6591 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.01392, allocations: 45.44 kB / 0.6592 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/0.01475, allocations: 0.7518 MB / 0.6599 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01476, allocations: 7.984 kB / 0.6599 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.0148, allocations: 20.38 kB / 0.6599 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.01481, allocations: 10.5 kB / 0.6599 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.01584, allocations: 0.7601 MB / 0.6607 GB, free: 18.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.01764, allocations: 1.582 MB / 0.6622 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.01911, allocations: 0.8962 MB / 0.6631 GB, free: 16.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.01953, allocations: 338.5 kB / 0.6634 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/0.02004, allocations: 200.4 kB / 0.6636 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/0.02056, allocations: 456.1 kB / 0.664 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=66): time 1.783e-06/0.02056, allocations: 0 / 0.664 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66): time 0.001424/0.02198, allocations: 1.073 MB / 0.6651 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.02201, allocations: 119.5 kB / 0.6652 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.02224, allocations: 381.6 kB / 0.6656 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.02228, allocations: 37.7 kB / 0.6656 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.02236, allocations: 217.4 kB / 0.6658 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.02244, allocations: 238 kB / 0.666 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.02257, allocations: 142.6 kB / 0.6662 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.02262, allocations: 358.7 kB / 0.6665 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.02303, allocations: 317.8 kB / 0.6668 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.02348, allocations: 492.9 kB / 0.6673 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/0.02435, allocations: 0.7248 MB / 0.668 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.02435, allocations: 4 kB / 0.668 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001038/0.02539, allocations: 0.8601 MB / 0.6688 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.0254, allocations: 4 kB / 0.6688 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.02541, allocations: 4 kB / 0.6689 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.02543, allocations: 4 kB / 0.6689 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.02587, allocations: 187.7 kB / 0.669 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.02587, allocations: 8 kB / 0.669 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.02617, allocations: 99.48 kB / 0.6691 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.02622, allocations: 47.88 kB / 0.6692 GB, free: 9.871 MB / 0.5105 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.0001527/0.02637, allocations: 202.9 kB / 0.6694 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.02643, allocations: 51.67 kB / 0.6694 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.0278, allocations: 1.124 MB / 0.6705 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.0278, allocations: 8 kB / 0.6705 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.02781, allocations: 0 / 0.6705 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.02781, allocations: 7.984 kB / 0.6705 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.0294, allocations: 1.645 MB / 0.6721 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.0294, allocations: 0 / 0.6721 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.02984, allocations: 191.7 kB / 0.6723 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.02984, allocations: 8 kB / 0.6723 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.02987, allocations: 27.97 kB / 0.6724 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.02988, allocations: 11.94 kB / 0.6724 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02988, allocations: 0 / 0.6724 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.03093, allocations: 1.006 MB / 0.6734 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.0311, allocations: 151.3 kB / 0.6735 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.03115, allocations: 19.98 kB / 0.6735 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.03143, allocations: 59.88 kB / 0.6736 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.03151, allocations: 60.89 kB / 0.6736 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.03155, allocations: 31.97 kB / 0.6737 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001412/0.03169, allocations: 259.2 kB / 0.6739 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.03169, allocations: 0 / 0.6739 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004926/0.03218, allocations: 247.5 kB / 0.6741 GB, free: 4.703 MB / 0.5105 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.002048/0.03423, allocations: 2.066 MB / 0.6762 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.03524, allocations: 0.7838 MB / 0.6769 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.03524, allocations: 0 / 0.6769 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.03572, allocations: 441.7 kB / 0.6774 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.03604, allocations: 77.39 kB / 0.6774 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.04144, allocations: 5.171 MB / 0.6825 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.04161, allocations: 282.2 kB / 0.6827 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004185/0.04203, allocations: 168.7 kB / 0.6829 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.04273, allocations: 228.4 kB / 0.6831 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.04273, allocations: 0 / 0.6831 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.07044, allocations: 16.25 MB / 0.699 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.177, allocations: 7.719 kB / 0.699 GB, free: 11.35 MB / 0.5417 GB " [Timeout remaining time 653] (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: 10.010525438934565] Failed to read output from testmodel.py, exit status != 0: 7.3008278561756015 7.310187026 7.298097387 Calling exit ...