Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006723/0.0006723, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.001277/0.001277, allocations: 217.2 kB / 22.26 MB, free: 3.695 MB / 13.93 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.9607/0.9607, allocations: 230.6 MB / 256 MB, free: 9.777 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8168/0.8168, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_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.0008946/0.0008946, allocations: 68.66 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5832, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00584/0.5891, allocations: 5.289 MB / 0.823 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1514/0.7404, allocations: 154.2 MB / 0.9736 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.7415, allocations: 23.81 kB / 0.9736 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.7421, allocations: 206.1 kB / 0.9738 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.7439, allocations: 0.5814 MB / 0.9744 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.7462, allocations: 0.8941 MB / 0.9753 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.7477, allocations: 1.479 MB / 0.9767 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.7485, allocations: 490.3 kB / 0.9772 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/0.7492, allocations: 0.5412 MB / 0.9777 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.7497, allocations: 0.5601 MB / 0.9782 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.7499, allocations: 132 kB / 0.9784 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.7508, allocations: 0.523 MB / 0.9789 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.751, allocations: 342.9 kB / 0.9792 GB, free: 196 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.7515, allocations: 0.6141 MB / 0.9798 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.7538, allocations: 1.808 MB / 0.9816 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7539, allocations: 4 kB / 0.9816 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.886e-06/0.7539, allocations: 0 / 0.9816 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.7539, allocations: 0 / 0.9816 GB, free: 13.76 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001974/0.7558, allocations: 1.497 MB / 0.983 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.7559, allocations: 12.03 kB / 0.983 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.756, allocations: 156.3 kB / 0.9832 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.7573, allocations: 359.8 kB / 0.9835 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.7583, allocations: 0.749 MB / 0.9843 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.7583, allocations: 74 kB / 0.9843 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.7584, allocations: 104 kB / 0.9844 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.7597, allocations: 1.066 MB / 0.9855 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.7597, allocations: 0 / 0.9855 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.7597, allocations: 44 kB / 0.9855 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.7598, allocations: 20 kB / 0.9855 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.7612, allocations: 1.272 MB / 0.9868 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.7645, allocations: 3.01 MB / 0.9897 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.7659, allocations: 0.8983 MB / 0.9906 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.7664, allocations: 338.6 kB / 0.9909 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.373e-05/0.7664, allocations: 34.47 kB / 0.991 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007141/0.7671, allocations: 0.5627 MB / 0.9915 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=84): time 2.124e-06/0.7671, allocations: 0 / 0.9915 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84): time 0.002232/0.7694, allocations: 1.313 MB / 0.9928 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7695, allocations: 192.9 kB / 0.993 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/0.7702, allocations: 0.6646 MB / 0.9936 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.7702, allocations: 49.7 kB / 0.9937 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.7705, allocations: 441 kB / 0.9941 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.7707, allocations: 289.5 kB / 0.9944 GB, free: 308 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/0.7712, allocations: 146.6 kB / 0.9945 GB, free: 152 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7714, allocations: 390.8 kB / 0.9949 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.7718, allocations: 309.8 kB / 0.9952 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.7723, allocations: 410.5 kB / 0.9956 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008598/0.7731, allocations: 0.6944 MB / 0.9962 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7731, allocations: 0 / 0.9962 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001365/0.7745, allocations: 0.935 MB / 0.9972 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.7745, allocations: 9.875 kB / 0.9972 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7745, allocations: 0 / 0.9972 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.7749, allocations: 88.8 kB / 0.9973 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.7753, allocations: 171.8 kB / 0.9974 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.7768, allocations: 1.533 MB / 0.9989 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.7773, allocations: 119.5 kB / 0.999 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.7773, allocations: 31.97 kB / 0.9991 GB, free: 11.31 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0003766/0.7777, allocations: 273.6 kB / 0.9993 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.7778, allocations: 91.44 kB / 0.9994 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.7794, allocations: 1.206 MB / 1.001 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.7794, allocations: 8 kB / 1.001 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7794, allocations: 4 kB / 1.001 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.7795, allocations: 3.984 kB / 1.001 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.7823, allocations: 2.136 MB / 1.003 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7823, allocations: 0 / 1.003 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.7826, allocations: 179.8 kB / 1.003 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.7828, allocations: 64.8 kB / 1.003 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.7829, allocations: 31.97 kB / 1.003 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.784, allocations: 1.562 MB / 1.004 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.784, allocations: 0 / 1.004 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.7854, allocations: 1.123 MB / 1.006 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.7857, allocations: 211 kB / 1.006 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.7858, allocations: 19.98 kB / 1.006 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.7862, allocations: 83.92 kB / 1.006 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.7863, allocations: 80.78 kB / 1.006 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.7864, allocations: 35.98 kB / 1.006 GB, free: 4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004309/0.7868, allocations: 487 kB / 1.006 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7868, allocations: 0 / 1.006 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007236/0.7875, allocations: 351 kB / 1.007 GB, free: 3.188 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002935/0.7905, allocations: 2.185 MB / 1.009 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.7918, allocations: 0.8938 MB / 1.01 GB, free: 292 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7918, allocations: 0 / 1.01 GB, free: 292 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.7924, allocations: 0.5548 MB / 1.01 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007679/0.7932, allocations: 323.6 kB / 1.011 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00814/0.8013, allocations: 6.822 MB / 1.017 GB, free: 8.453 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.8018, allocations: 1.055 MB / 1.018 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006953/0.8025, allocations: 283 kB / 1.019 GB, free: 7.086 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.803, allocations: 431.2 kB / 1.019 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of SimCode: time 8.62e-07/0.803, allocations: 0 / 1.019 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.8538, allocations: 23.62 MB / 1.042 GB, free: 15.21 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/9.658, allocations: 6.812 kB / 1.042 GB, free: 15.21 MB / 0.823 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.800499951001257] Failed to read output from testmodel.py, exit status != 0: 9.80674436991103 9.81761017 9.061474717 Calling exit ...