Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 107 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.7962/0.7962, allocations: 132.2 MB / 429.4 MB, free: 5.953 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 68.36 kB / 0.5894 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1284, allocations: 80.21 MB / 0.6677 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005695/0.1342, allocations: 4.193 MB / 0.6718 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4603/0.5945, allocations: 150.5 MB / 0.8188 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.5952, allocations: 19.69 kB / 0.8188 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.5958, allocations: 163.4 kB / 0.819 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.5974, allocations: 490 kB / 0.8194 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.599, allocations: 0.8127 MB / 0.8202 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.6002, allocations: 1.206 MB / 0.8214 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008881/0.6011, allocations: 0.6878 MB / 0.8221 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006965/0.6019, allocations: 457.7 kB / 0.8225 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.6024, allocations: 486.6 kB / 0.823 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.6026, allocations: 112.7 kB / 0.8231 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.6037, allocations: 0.4953 MB / 0.8236 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.604, allocations: 289.4 kB / 0.8238 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00047/0.6045, allocations: 0.5333 MB / 0.8244 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6065, allocations: 1.591 MB / 0.8259 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6065, allocations: 0 / 0.8259 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6065, allocations: 0 / 0.8259 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.6066, allocations: 2.938 kB / 0.8259 GB, free: 10.08 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002345/0.6089, allocations: 1.433 MB / 0.8273 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.609, allocations: 8 kB / 0.8273 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.6091, allocations: 143.1 kB / 0.8275 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.6103, allocations: 212.1 kB / 0.8277 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.6116, allocations: 0.7617 MB / 0.8284 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.6116, allocations: 66.62 kB / 0.8285 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.6118, allocations: 89.03 kB / 0.8286 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.6134, allocations: 0.9488 MB / 0.8295 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.6134, allocations: 0 / 0.8295 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.6135, allocations: 39.78 kB / 0.8295 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.6136, allocations: 23.97 kB / 0.8295 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.6154, allocations: 1.123 MB / 0.8306 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.6195, allocations: 2.539 MB / 0.8331 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.621, allocations: 0.8172 MB / 0.8339 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.6215, allocations: 286 kB / 0.8342 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006737/0.6222, allocations: 479.8 kB / 0.8346 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000805/0.623, allocations: 431.7 kB / 0.8351 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.504e-06/0.6231, allocations: 0.5625 kB / 0.8351 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003132/0.6262, allocations: 1.103 MB / 0.8361 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.6263, allocations: 195.8 kB / 0.8363 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008039/0.6272, allocations: 0.5959 MB / 0.8369 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.6272, allocations: 42.55 kB / 0.8369 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.6276, allocations: 414.9 kB / 0.8373 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.6279, allocations: 261.8 kB / 0.8376 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.6281, allocations: 135.8 kB / 0.8377 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.6283, allocations: 380.3 kB / 0.8381 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.6288, allocations: 230.5 kB / 0.8383 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.6294, allocations: 325.2 kB / 0.8386 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6304, allocations: 0.538 MB / 0.8391 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6304, allocations: 3.938 kB / 0.8391 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00175/0.6322, allocations: 0.7308 MB / 0.8399 GB, free: 364 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6322, allocations: 7.906 kB / 0.8399 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6322, allocations: 3.984 kB / 0.8399 GB, free: 360 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.6328, allocations: 82.47 kB / 0.8399 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.6334, allocations: 138.2 kB / 0.8401 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.6355, allocations: 1.636 MB / 0.8417 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.6361, allocations: 82.89 kB / 0.8418 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.6362, allocations: 25.92 kB / 0.8418 GB, free: 14.61 MB / 0.6075 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 (76): * Single equations (assignments): 75 * 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.000411/0.6366, allocations: 268.6 kB / 0.842 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.6368, allocations: 81.11 kB / 0.8421 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.6389, allocations: 0.9899 MB / 0.8431 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.639, allocations: 10.22 kB / 0.8431 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.639, allocations: 0 / 0.8431 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.639, allocations: 11.92 kB / 0.8431 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.6421, allocations: 1.903 MB / 0.845 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6421, allocations: 0 / 0.845 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.6426, allocations: 142 kB / 0.8451 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.6431, allocations: 74.94 kB / 0.8452 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.6431, allocations: 22.95 kB / 0.8452 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.645, allocations: 1.668 MB / 0.8468 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.645, allocations: 0 / 0.8468 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.6469, allocations: 0.9229 MB / 0.8477 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.6472, allocations: 264.2 kB / 0.848 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.864e-05/0.6473, allocations: 14.44 kB / 0.848 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/0.6479, allocations: 59.88 kB / 0.848 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.648, allocations: 61.34 kB / 0.8481 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.6481, allocations: 30.42 kB / 0.8481 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005031/0.6486, allocations: 439.2 kB / 0.8486 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6486, allocations: 0 / 0.8486 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007762/0.6494, allocations: 314 kB / 0.8488 GB, free: 9.625 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: 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 (84): * Single equations (assignments): 81 * 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.003857/0.6532, allocations: 1.992 MB / 0.8508 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.6548, allocations: 0.7473 MB / 0.8515 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6548, allocations: 0 / 0.8515 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008638/0.6557, allocations: 499.9 kB / 0.852 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.657, allocations: 287.8 kB / 0.8523 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.6681, allocations: 6.058 MB / 0.8582 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.6689, allocations: 1.023 MB / 0.8592 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008166/0.6697, allocations: 257.7 kB / 0.8594 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.6703, allocations: 380.9 kB / 0.8598 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.315e-06/0.6703, allocations: 0 / 0.8598 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08575/0.756, allocations: 20.49 MB / 0.8798 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.04, allocations: 10.62 kB / 0.8798 GB, free: 11.57 MB / 0.6387 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.470005515031517] Failed to read output from testmodel.py, exit status != 0: 13.243505625985563 13.268173038 12.657372565 Calling exit ...