Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001256/0.001256, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001454/0.001454, allocations: 221.9 kB / 22.26 MB, free: 5.125 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7983/0.7983, allocations: 134 MB / 446.4 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001913/0.001913, allocations: 63.16 kB / 0.6185 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1497, allocations: 85.91 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006434/0.1561, allocations: 4.283 MB / 0.7066 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.483/0.6391, allocations: 154 MB / 0.857 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.6398, allocations: 23.81 kB / 0.857 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.6405, allocations: 174.4 kB / 0.8572 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.6422, allocations: 498.5 kB / 0.8577 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.6443, allocations: 0.8582 MB / 0.8585 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.6458, allocations: 1.223 MB / 0.8597 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/0.6467, allocations: 0.5177 MB / 0.8602 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006758/0.6473, allocations: 494.3 kB / 0.8607 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.6479, allocations: 0.4939 MB / 0.8612 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.6481, allocations: 116 kB / 0.8613 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.649, allocations: 0.5093 MB / 0.8618 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.6493, allocations: 307 kB / 0.8621 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.6497, allocations: 0.5401 MB / 0.8626 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.6516, allocations: 1.636 MB / 0.8642 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6516, allocations: 0 / 0.8642 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6516, allocations: 4 kB / 0.8642 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.6516, allocations: 0 / 0.8642 GB, free: 0.8555 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002264/0.6539, allocations: 1.393 MB / 0.8656 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6539, allocations: 12.03 kB / 0.8656 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.6541, allocations: 135.9 kB / 0.8657 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.6564, allocations: 367.8 kB / 0.8661 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.6576, allocations: 0.6987 MB / 0.8667 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.6577, allocations: 66 kB / 0.8668 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.6578, allocations: 88 kB / 0.8669 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.6596, allocations: 1.007 MB / 0.8679 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.6597, allocations: 7.984 kB / 0.8679 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.6598, allocations: 36 kB / 0.8679 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.6598, allocations: 24 kB / 0.8679 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.662, allocations: 1.218 MB / 0.8691 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.6663, allocations: 2.502 MB / 0.8716 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.6686, allocations: 0.8244 MB / 0.8724 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007078/0.6693, allocations: 306.7 kB / 0.8727 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/0.6694, allocations: 28.69 kB / 0.8727 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009922/0.6704, allocations: 491.1 kB / 0.8732 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=75): time 1.994e-06/0.6704, allocations: 0 / 0.8732 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75): time 0.003501/0.6739, allocations: 1.162 MB / 0.8743 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.674, allocations: 196.5 kB / 0.8745 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008133/0.6748, allocations: 0.6215 MB / 0.8751 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.6749, allocations: 37.7 kB / 0.8751 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.6753, allocations: 424.8 kB / 0.8755 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.6755, allocations: 261.8 kB / 0.8758 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.6757, allocations: 142.2 kB / 0.8759 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.6759, allocations: 382.7 kB / 0.8763 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.6766, allocations: 269.1 kB / 0.8765 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007822/0.6773, allocations: 370.8 kB / 0.8769 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.6788, allocations: 0.6253 MB / 0.8775 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6788, allocations: 0 / 0.8775 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002206/0.681, allocations: 0.8372 MB / 0.8783 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.681, allocations: 7.984 kB / 0.8783 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.681, allocations: 4 kB / 0.8783 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.6816, allocations: 88.73 kB / 0.8784 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.6823, allocations: 155.8 kB / 0.8786 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.6844, allocations: 1.535 MB / 0.8801 GB, free: 164 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.6851, allocations: 105.1 kB / 0.8802 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.6851, allocations: 23.98 kB / 0.8802 GB, free: 36 kB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004067/0.6855, allocations: 259.8 kB / 0.8804 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.6857, allocations: 79.48 kB / 0.8805 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.6884, allocations: 1.11 MB / 0.8816 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6884, allocations: 12 kB / 0.8816 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6884, allocations: 3.938 kB / 0.8816 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.6884, allocations: 3.984 kB / 0.8816 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.6922, allocations: 2.02 MB / 0.8836 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6922, allocations: 0 / 0.8836 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.6929, allocations: 167.8 kB / 0.8837 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/0.6933, allocations: 68.8 kB / 0.8838 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.6934, allocations: 27.97 kB / 0.8838 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.6953, allocations: 1.562 MB / 0.8854 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6953, allocations: 0 / 0.8854 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.6976, allocations: 1.03 MB / 0.8864 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.6979, allocations: 187.1 kB / 0.8865 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.698, allocations: 28.06 kB / 0.8866 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.6987, allocations: 71.86 kB / 0.8866 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6988, allocations: 64.88 kB / 0.8867 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.6989, allocations: 35.97 kB / 0.8867 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005653/0.6995, allocations: 459 kB / 0.8872 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6995, allocations: 0 / 0.8872 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007863/0.7003, allocations: 315 kB / 0.8875 GB, free: 8.355 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00441/0.7047, allocations: 2.081 MB / 0.8895 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.7066, allocations: 0.8098 MB / 0.8903 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7066, allocations: 3.938 kB / 0.8903 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.7077, allocations: 0.508 MB / 0.8908 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.7088, allocations: 292.4 kB / 0.8911 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.721, allocations: 6.442 MB / 0.8974 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.7218, allocations: 1.031 MB / 0.8984 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008033/0.7226, allocations: 278.4 kB / 0.8986 GB, free: 12.96 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.7232, allocations: 395.3 kB / 0.899 GB, free: 12.58 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.7232, allocations: 0 / 0.899 GB, free: 12.58 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06293/0.7861, allocations: 21.68 MB / 0.9202 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.13, allocations: 3.938 kB / 0.9202 GB, free: 7.055 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.596815921133384] Failed to read output from testmodel.py, exit status != 0: 14.34698444395326 14.363299631 13.70858467 Calling exit ...