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.001695/0.001695, allocations: 97.92 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.002189/0.002189, allocations: 219.6 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8344/0.8344, allocations: 134 MB / 447.2 MB, free: 9.988 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",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.00191/0.00191, allocations: 60.77 kB / 0.6192 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 85.91 MB / 0.7031 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006183/0.1803, allocations: 3.864 MB / 0.7069 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5185/0.6988, allocations: 132.5 MB / 0.8363 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006862/0.6995, allocations: 24.94 kB / 0.8363 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.7, allocations: 179 kB / 0.8365 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.7014, allocations: 0.4885 MB / 0.8369 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.7032, allocations: 0.827 MB / 0.8378 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.7043, allocations: 1.226 MB / 0.839 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007365/0.7051, allocations: 0.5134 MB / 0.8395 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.7057, allocations: 498.6 kB / 0.8399 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.7063, allocations: 0.4923 MB / 0.8404 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.7064, allocations: 116 kB / 0.8405 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009792/0.7074, allocations: 0.5007 MB / 0.841 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.7077, allocations: 299 kB / 0.8413 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.7081, allocations: 445.7 kB / 0.8417 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.7101, allocations: 1.652 MB / 0.8433 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7102, allocations: 0 / 0.8433 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7102, allocations: 0 / 0.8433 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.7102, allocations: 0 / 0.8433 GB, free: 3.781 MB / 0.6075 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.00238/0.7125, allocations: 1.385 MB / 0.8447 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7126, allocations: 12.59 kB / 0.8447 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.691e-05/0.7126, allocations: 22.19 kB / 0.8447 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.7128, allocations: 143.9 kB / 0.8449 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.7152, allocations: 359.8 kB / 0.8452 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.7164, allocations: 0.7063 MB / 0.8459 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/0.7165, allocations: 66 kB / 0.846 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.7166, allocations: 85.41 kB / 0.846 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.7186, allocations: 1.262 MB / 0.8473 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.7187, allocations: 3.938 kB / 0.8473 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/0.7188, allocations: 40 kB / 0.8473 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.7188, allocations: 24 kB / 0.8473 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.721, allocations: 1.214 MB / 0.8485 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.7252, allocations: 2.272 MB / 0.8507 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.7276, allocations: 0.8141 MB / 0.8515 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.7283, allocations: 307.8 kB / 0.8518 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.295e-05/0.7284, allocations: 24.62 kB / 0.8518 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.7294, allocations: 0.5801 MB / 0.8524 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=75): time 2.384e-06/0.7294, allocations: 0 / 0.8524 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75): time 0.003602/0.733, allocations: 1.177 MB / 0.8536 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.7332, allocations: 188.6 kB / 0.8537 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/0.734, allocations: 0.6176 MB / 0.8543 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.734, allocations: 41.7 kB / 0.8544 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.7344, allocations: 424.8 kB / 0.8548 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.7346, allocations: 269.8 kB / 0.855 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.7349, allocations: 134.2 kB / 0.8552 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.7351, allocations: 382.7 kB / 0.8555 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006895/0.7357, allocations: 273.1 kB / 0.8558 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008481/0.7366, allocations: 0.4914 MB / 0.8563 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.738, allocations: 0.6253 MB / 0.8569 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.738, allocations: 0 / 0.8569 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00227/0.7403, allocations: 0.8333 MB / 0.8577 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7403, allocations: 4 kB / 0.8577 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.7403, allocations: 4 kB / 0.8577 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.7409, allocations: 92.73 kB / 0.8578 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/0.7417, allocations: 155.8 kB / 0.8579 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.7438, allocations: 1.52 MB / 0.8594 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/0.7446, allocations: 95.5 kB / 0.8595 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.7446, allocations: 27.98 kB / 0.8596 GB, free: 2.613 MB / 0.6231 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.0004382/0.7451, allocations: 265.8 kB / 0.8598 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.7452, allocations: 87.47 kB / 0.8599 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.748, allocations: 1.102 MB / 0.861 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.748, allocations: 11.94 kB / 0.861 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.748, allocations: 0 / 0.861 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.748, allocations: 11.97 kB / 0.861 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.7518, allocations: 1.903 MB / 0.8628 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7518, allocations: 0 / 0.8628 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.7525, allocations: 163.8 kB / 0.863 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.753, allocations: 72.78 kB / 0.8631 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/0.753, allocations: 31.92 kB / 0.8631 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.7549, allocations: 1.547 MB / 0.8646 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.755, allocations: 0 / 0.8646 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.7573, allocations: 1.03 MB / 0.8656 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.7577, allocations: 191.1 kB / 0.8658 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.7578, allocations: 23.94 kB / 0.8658 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/0.7585, allocations: 72.62 kB / 0.8659 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.7587, allocations: 68.86 kB / 0.866 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.7588, allocations: 31.98 kB / 0.866 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006061/0.7594, allocations: 459 kB / 0.8664 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7594, allocations: 0 / 0.8664 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008493/0.7602, allocations: 307.1 kB / 0.8667 GB, free: 11.06 MB / 0.6387 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.004658/0.7649, allocations: 2.108 MB / 0.8688 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.7669, allocations: 0.8138 MB / 0.8696 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7669, allocations: 8 kB / 0.8696 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.7681, allocations: 0.5119 MB / 0.8701 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.7695, allocations: 283.5 kB / 0.8704 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.782, allocations: 6.449 MB / 0.8767 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.7825, allocations: 439.9 kB / 0.8771 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008888/0.7834, allocations: 267.4 kB / 0.8773 GB, free: 284 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.784, allocations: 395.3 kB / 0.8777 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.784, allocations: 0 / 0.8777 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05635/0.8404, allocations: 22.43 MB / 0.8996 GB, free: 9.699 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.54, allocations: 11.94 kB / 0.8996 GB, free: 9.688 MB / 0.67 GB " [Timeout remaining time 645] (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: 18.373810542048886] Failed to read output from testmodel.py, exit status != 0: 14.817104229005054 14.841455121 14.126753057 Calling exit ...