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.001272/0.001272, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001419/0.001419, allocations: 219 kB / 23.03 MB, free: 4.945 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002507/0.002507, allocations: 286.9 kB / 313.5 MB, free: 2.656 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.189/1.189, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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 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.002843/0.002843, allocations: 104.2 kB / 0.7402 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1924, allocations: 95.38 MB / 0.8334 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.00455/0.197, allocations: 2.92 MB / 0.8362 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005316/0.2023, allocations: 3.3 MB / 0.8394 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.2025, allocations: 4 kB / 0.8394 GB, free: 2.16 MB / 0.5762 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.000332/0.2028, allocations: 71.3 kB / 0.8395 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.204, allocations: 489.6 kB / 0.84 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.2047, allocations: 386.4 kB / 0.8403 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007284/0.2055, allocations: 0.722 MB / 0.841 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.2057, allocations: 78.75 kB / 0.8411 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.2061, allocations: 315 kB / 0.8414 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.2065, allocations: 330.9 kB / 0.8417 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.2066, allocations: 60 kB / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008904/0.2075, allocations: 0.5501 MB / 0.8423 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.2077, allocations: 175.5 kB / 0.8425 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.208, allocations: 242.8 kB / 0.8427 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.2092, allocations: 1.055 MB / 0.8438 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2092, allocations: 0 / 0.8438 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2092, allocations: 0 / 0.8438 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.2092, allocations: 0 / 0.8438 GB, free: 13.71 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.002036/0.2113, allocations: 0.8839 MB / 0.8446 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2113, allocations: 13.94 kB / 0.8446 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.896e-05/0.2114, allocations: 13.19 kB / 0.8446 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.2115, allocations: 86.7 kB / 0.8447 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.2149, allocations: 0.582 MB / 0.8453 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.2162, allocations: 0.5092 MB / 0.8458 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.2165, allocations: 357.5 kB / 0.8461 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.2166, allocations: 44 kB / 0.8462 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.2181, allocations: 0.7583 MB / 0.8469 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2181, allocations: 0 / 0.8469 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.2182, allocations: 16 kB / 0.8469 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2182, allocations: 12 kB / 0.8469 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.2201, allocations: 0.7766 MB / 0.8477 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.2235, allocations: 1.564 MB / 0.8492 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.2266, allocations: 0.8912 MB / 0.8501 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.2274, allocations: 338.6 kB / 0.8504 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.2286, allocations: 204.4 kB / 0.8506 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.2296, allocations: 464.2 kB / 0.8511 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.795e-06/0.2296, allocations: 0 / 0.8511 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002858/0.2325, allocations: 1.067 MB / 0.8521 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.2326, allocations: 115.4 kB / 0.8522 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.233, allocations: 377.7 kB / 0.8526 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.2331, allocations: 41.64 kB / 0.8526 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.2333, allocations: 225.4 kB / 0.8528 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.2335, allocations: 230 kB / 0.853 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.2337, allocations: 142.6 kB / 0.8532 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2339, allocations: 358.8 kB / 0.8535 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008068/0.2347, allocations: 317.8 kB / 0.8538 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009482/0.2357, allocations: 493 kB / 0.8543 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.2374, allocations: 0.7208 MB / 0.855 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2374, allocations: 3.984 kB / 0.855 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002073/0.2395, allocations: 0.8638 MB / 0.8558 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2395, allocations: 6.188 kB / 0.8559 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2395, allocations: 4 kB / 0.8559 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2395, allocations: 4 kB / 0.8559 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.2406, allocations: 199.8 kB / 0.8561 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2406, allocations: 4 kB / 0.8561 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.2413, allocations: 99.45 kB / 0.8562 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.2414, allocations: 35.95 kB / 0.8562 GB, free: 0.582 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.0003068/0.2417, allocations: 201 kB / 0.8564 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.2418, allocations: 51.67 kB / 0.8564 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.2445, allocations: 1.124 MB / 0.8575 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.2446, allocations: 15.88 kB / 0.8575 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2446, allocations: 4 kB / 0.8575 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.2446, allocations: 7.969 kB / 0.8576 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.2477, allocations: 1.629 MB / 0.8591 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2477, allocations: 0 / 0.8591 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/0.2487, allocations: 199.6 kB / 0.8593 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.2487, allocations: 4 kB / 0.8593 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.2488, allocations: 27.97 kB / 0.8594 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.2488, allocations: 8 kB / 0.8594 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.2488, allocations: 7.969 kB / 0.8594 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.2509, allocations: 1.009 MB / 0.8604 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.2512, allocations: 155.2 kB / 0.8605 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2513, allocations: 16 kB / 0.8605 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.252, allocations: 54.34 kB / 0.8606 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.2521, allocations: 64.88 kB / 0.8606 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.2522, allocations: 31.98 kB / 0.8607 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003099/0.2525, allocations: 259.2 kB / 0.8609 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2525, allocations: 0 / 0.8609 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007772/0.2533, allocations: 251.5 kB / 0.8612 GB, free: 11.41 MB / 0.6075 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.004262/0.2575, allocations: 2.059 MB / 0.8632 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.2595, allocations: 0.7876 MB / 0.8639 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2595, allocations: 0 / 0.8639 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009658/0.2605, allocations: 437.7 kB / 0.8644 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.261, allocations: 64.14 kB / 0.8644 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009028/0.2701, allocations: 5.197 MB / 0.8695 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.2703, allocations: 270.2 kB / 0.8697 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007031/0.271, allocations: 180.6 kB / 0.8699 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.2715, allocations: 223.3 kB / 0.8701 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of SimCode: time 7.62e-07/0.2715, allocations: 0 / 0.8701 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04217/0.3137, allocations: 16.05 MB / 0.8858 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.41, allocations: 4.062 kB / 0.8858 GB, free: 2.277 MB / 0.6231 GB " [Timeout remaining time 647] (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: 16.55243766703643] Failed to read output from testmodel.py, exit status != 0: 12.654748913948424 12.670247806 12.457996377 Calling exit ...