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.001314/0.001314, allocations: 123.1 kB / 17.17 MB, free: 5.918 MB / 14.72 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.001349/0.001349, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 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 1.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.002457/0.002457, allocations: 286.7 kB / 309.8 MB, free: 3.453 MB / 238.1 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 1.087/1.087, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0029/0.0029, allocations: 91.86 kB / 0.7346 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5308, allocations: 95.34 MB / 0.8277 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004701/0.5355, allocations: 3.126 MB / 0.8308 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006346/0.5419, allocations: 3.422 MB / 0.8341 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.5423, allocations: 2.469 kB / 0.8341 GB, free: 14.46 MB / 0.5919 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.0004843/0.5428, allocations: 69.33 kB / 0.8342 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.5447, allocations: 483.8 kB / 0.8347 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.5459, allocations: 403.5 kB / 0.835 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009762/0.5469, allocations: 0.7211 MB / 0.8357 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.5471, allocations: 75.44 kB / 0.8358 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.5476, allocations: 305.9 kB / 0.8361 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.5482, allocations: 328.1 kB / 0.8364 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.2e-05/0.5483, allocations: 60.94 kB / 0.8365 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.5496, allocations: 0.5647 MB / 0.837 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.5498, allocations: 179.1 kB / 0.8372 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.5501, allocations: 297.1 kB / 0.8375 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.5519, allocations: 1.06 MB / 0.8385 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5519, allocations: 0 / 0.8385 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5519, allocations: 0.7031 kB / 0.8385 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.552, allocations: 0 / 0.8385 GB, free: 12.38 MB / 0.5919 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.002382/0.5543, allocations: 0.961 MB / 0.8395 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5544, allocations: 11.09 kB / 0.8395 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.109e-05/0.5544, allocations: 11.66 kB / 0.8395 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.5545, allocations: 91.22 kB / 0.8396 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003554/0.5581, allocations: 0.5784 MB / 0.8401 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.5596, allocations: 0.5599 MB / 0.8407 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.5599, allocations: 204.4 kB / 0.8409 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.56, allocations: 43.31 kB / 0.8409 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.5618, allocations: 0.6793 MB / 0.8416 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.5618, allocations: 0 / 0.8416 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.5619, allocations: 21.16 kB / 0.8416 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.5619, allocations: 11.62 kB / 0.8416 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.564, allocations: 0.7713 MB / 0.8424 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.5679, allocations: 1.728 MB / 0.844 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/0.5715, allocations: 0.9731 MB / 0.845 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009946/0.5725, allocations: 340.2 kB / 0.8453 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/0.5747, allocations: 1.767 MB / 0.847 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.5759, allocations: 463 kB / 0.8475 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.826e-06/0.5759, allocations: 0 / 0.8475 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.003139/0.5791, allocations: 1.067 MB / 0.8485 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.5792, allocations: 115.1 kB / 0.8486 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.5797, allocations: 372.5 kB / 0.849 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/0.5798, allocations: 41.42 kB / 0.849 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.58, allocations: 229.3 kB / 0.8493 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.5803, allocations: 227.7 kB / 0.8495 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.5806, allocations: 149.4 kB / 0.8496 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5807, allocations: 352.1 kB / 0.85 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008937/0.5816, allocations: 319.4 kB / 0.8503 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.5827, allocations: 441.3 kB / 0.8507 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.5846, allocations: 0.7368 MB / 0.8514 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5846, allocations: 1.094 kB / 0.8514 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002399/0.587, allocations: 0.8551 MB / 0.8522 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.587, allocations: 12.52 kB / 0.8522 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.587, allocations: 3.594 kB / 0.8522 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.5871, allocations: 5.891 kB / 0.8523 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5881, allocations: 190.2 kB / 0.8524 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.5881, allocations: 4.719 kB / 0.8524 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/0.5889, allocations: 105.7 kB / 0.8525 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/0.589, allocations: 34.53 kB / 0.8526 GB, free: 4.242 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.0004214/0.5895, allocations: 198.6 kB / 0.8528 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.5896, allocations: 51.73 kB / 0.8528 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.5927, allocations: 1.126 MB / 0.8539 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.5928, allocations: 12.44 kB / 0.8539 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5928, allocations: 1.406 kB / 0.8539 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.5928, allocations: 4.781 kB / 0.8539 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00363/0.5964, allocations: 1.771 MB / 0.8557 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5964, allocations: 0 / 0.8557 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.5974, allocations: 200.1 kB / 0.8558 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.5975, allocations: 3.75 kB / 0.8559 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.5975, allocations: 23.52 kB / 0.8559 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.5975, allocations: 2.75 kB / 0.8559 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5975, allocations: 1.5 kB / 0.8559 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.5999, allocations: 1.01 MB / 0.8569 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.6003, allocations: 224.6 kB / 0.8571 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6004, allocations: 16.03 kB / 0.8571 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/0.6011, allocations: 57.56 kB / 0.8571 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6012, allocations: 72.92 kB / 0.8572 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.6013, allocations: 32.14 kB / 0.8572 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003575/0.6017, allocations: 261 kB / 0.8575 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6017, allocations: 0 / 0.8575 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000996/0.6027, allocations: 254.1 kB / 0.8577 GB, free: 1.293 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.004458/0.6071, allocations: 2.017 MB / 0.8597 GB, free: 8 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002338/0.6095, allocations: 0.79 MB / 0.8605 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6095, allocations: 1.438 kB / 0.8605 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.6106, allocations: 436.3 kB / 0.8609 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.6112, allocations: 70.11 kB / 0.861 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.6215, allocations: 5.182 MB / 0.866 GB, free: 12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.6221, allocations: 0.8736 MB / 0.8669 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008009/0.6229, allocations: 176.9 kB / 0.867 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.6234, allocations: 227.4 kB / 0.8673 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.6234, allocations: 0 / 0.8673 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/0.6666, allocations: 15.29 MB / 0.8822 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.31/9.976, allocations: 9.875 kB / 0.8822 GB, free: 1.617 MB / 0.6075 GB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 14.01841392798815] Failed to read output from testmodel.py, exit status != 0: 10.18811128201196 10.20238392 9.647310266 Calling exit ...