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.00134/0.00134, allocations: 74.52 kB / 19.01 MB, free: 2.863 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.001487/0.001487, allocations: 159.3 kB / 22.25 MB, free: 5.117 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.388/1.388, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.1 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.002458/0.002458, allocations: 240.1 kB / 259.3 MB, free: 0.5742 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.039/1.039, allocations: 138.5 MB / 454.2 MB, free: 2.016 MB / 366.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: translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") [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.003054/0.003054, allocations: 107.8 kB / 0.6466 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.357, allocations: 95.35 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004495/0.3615, allocations: 2.906 MB / 0.7425 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005309/0.3668, allocations: 3.304 MB / 0.7457 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.367, allocations: 4 kB / 0.7457 GB, free: 8.965 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.000313/0.3673, allocations: 63.31 kB / 0.7458 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.3684, allocations: 493.5 kB / 0.7463 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008075/0.3693, allocations: 392.8 kB / 0.7466 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007555/0.37, allocations: 0.7181 MB / 0.7473 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.3702, allocations: 74.88 kB / 0.7474 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.3708, allocations: 438.9 kB / 0.7478 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.3712, allocations: 302.8 kB / 0.7481 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.702e-05/0.3713, allocations: 60 kB / 0.7482 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008811/0.3722, allocations: 0.5346 MB / 0.7487 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.3724, allocations: 175.5 kB / 0.7489 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.3726, allocations: 242.8 kB / 0.7491 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.3739, allocations: 1.056 MB / 0.7501 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3739, allocations: 0 / 0.7501 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3739, allocations: 4 kB / 0.7501 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3739, allocations: 3.938 kB / 0.7501 GB, free: 4.445 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.002086/0.376, allocations: 0.8879 MB / 0.751 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.376, allocations: 13.34 kB / 0.751 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/0.3795, allocations: 0.5741 MB / 0.7516 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.3809, allocations: 0.5053 MB / 0.7521 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.3812, allocations: 358 kB / 0.7524 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.784e-05/0.3813, allocations: 43.94 kB / 0.7525 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.3829, allocations: 0.7545 MB / 0.7532 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3829, allocations: 0 / 0.7532 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.3829, allocations: 19.98 kB / 0.7532 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.383, allocations: 12 kB / 0.7532 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.3849, allocations: 0.7727 MB / 0.754 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.3884, allocations: 1.507 MB / 0.7555 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.3916, allocations: 0.8879 MB / 0.7563 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008709/0.3925, allocations: 343.2 kB / 0.7566 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.3937, allocations: 204.4 kB / 0.7568 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.3948, allocations: 464.1 kB / 0.7573 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.595e-06/0.3948, allocations: 0 / 0.7573 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002896/0.3977, allocations: 1.069 MB / 0.7583 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.3978, allocations: 111.5 kB / 0.7584 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.3982, allocations: 357.7 kB / 0.7588 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.3983, allocations: 41.7 kB / 0.7588 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3985, allocations: 229.3 kB / 0.759 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.3987, allocations: 234 kB / 0.7593 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.3989, allocations: 146.5 kB / 0.7594 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3991, allocations: 354.7 kB / 0.7597 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008402/0.4, allocations: 317.8 kB / 0.76 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009675/0.4009, allocations: 488.9 kB / 0.7605 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.4027, allocations: 0.7286 MB / 0.7612 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4027, allocations: 7.938 kB / 0.7612 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00216/0.4049, allocations: 0.8599 MB / 0.7621 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4049, allocations: 8 kB / 0.7621 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.4049, allocations: 4 kB / 0.7621 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4049, allocations: 4.188 kB / 0.7621 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.406, allocations: 187.7 kB / 0.7623 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.406, allocations: 8 kB / 0.7623 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/0.4067, allocations: 95.44 kB / 0.7624 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.4068, allocations: 47.89 kB / 0.7624 GB, free: 7.508 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.0003361/0.4071, allocations: 197.7 kB / 0.7626 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.4073, allocations: 51.67 kB / 0.7626 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.4103, allocations: 1.116 MB / 0.7637 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4103, allocations: 15.98 kB / 0.7637 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4103, allocations: 0 / 0.7637 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4103, allocations: 7.922 kB / 0.7638 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.4137, allocations: 1.571 MB / 0.7653 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4137, allocations: 0 / 0.7653 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.4147, allocations: 187.7 kB / 0.7655 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.4147, allocations: 4 kB / 0.7655 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.4148, allocations: 27.97 kB / 0.7655 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.4148, allocations: 7.938 kB / 0.7655 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4148, allocations: 0 / 0.7655 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.4171, allocations: 1.009 MB / 0.7665 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.4174, allocations: 147.3 kB / 0.7666 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/0.4175, allocations: 20 kB / 0.7666 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.4182, allocations: 55.88 kB / 0.7667 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.4184, allocations: 68.88 kB / 0.7668 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.4184, allocations: 35.92 kB / 0.7668 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003133/0.4187, allocations: 247.2 kB / 0.767 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4187, allocations: 0 / 0.767 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008081/0.4196, allocations: 255.4 kB / 0.7673 GB, free: 2.438 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.002024/0.4216, allocations: 0.5903 MB / 0.7679 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.4236, allocations: 0.7873 MB / 0.7686 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4236, allocations: 0.625 kB / 0.7686 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.4247, allocations: 437.4 kB / 0.769 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.4252, allocations: 70.98 kB / 0.7691 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.4275, allocations: 1.168 MB / 0.7703 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4278, allocations: 270.2 kB / 0.7705 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006903/0.4285, allocations: 172.5 kB / 0.7707 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.4288, allocations: 92.44 kB / 0.7708 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.4288, allocations: 0 / 0.7708 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.01836/0.4472, allocations: 9.918 MB / 0.7804 GB, free: 5.152 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.03523357026279] Failed to read output from testmodel.py, exit status != 0: 0.45584551244974136 0.470444976 0.093448395 Calling exit ...