Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001272/0.001272, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001351/0.001351, allocations: 214.8 kB / 23.03 MB, free: 4.922 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: 230.6 MB / 256.8 MB, free: 7.793 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.8095/0.8095, allocations: 134 MB / 447.2 MB, free: 9.922 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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.001869/0.001869, allocations: 61.62 kB / 0.6192 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1523, allocations: 85.93 MB / 0.7031 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006374/0.1587, allocations: 4.116 MB / 0.7072 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4905/0.6492, allocations: 132.6 MB / 0.8366 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00072/0.6499, allocations: 29.09 kB / 0.8367 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.6505, allocations: 195.8 kB / 0.8369 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.6521, allocations: 0.5235 MB / 0.8374 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.6539, allocations: 0.8436 MB / 0.8382 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.6552, allocations: 1.34 MB / 0.8395 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008868/0.6561, allocations: 0.6602 MB / 0.8401 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.6568, allocations: 0.566 MB / 0.8407 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.6575, allocations: 0.5832 MB / 0.8413 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.6577, allocations: 144 kB / 0.8414 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.6587, allocations: 0.5247 MB / 0.8419 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.6591, allocations: 354.8 kB / 0.8423 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.6596, allocations: 0.5169 MB / 0.8428 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.6619, allocations: 1.905 MB / 0.8446 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6619, allocations: 3.469 kB / 0.8446 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6619, allocations: 0 / 0.8446 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.6619, allocations: 4 kB / 0.8446 GB, free: 2.402 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002547/0.6644, allocations: 1.584 MB / 0.8462 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6645, allocations: 12.03 kB / 0.8462 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.525e-05/0.6645, allocations: 34.48 kB / 0.8462 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.6647, allocations: 173.5 kB / 0.8464 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.6662, allocations: 259.8 kB / 0.8466 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.6676, allocations: 0.7889 MB / 0.8474 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.6676, allocations: 86.3 kB / 0.8475 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.6678, allocations: 112 kB / 0.8476 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.6698, allocations: 1.385 MB / 0.8489 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.6698, allocations: 0 / 0.8489 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/0.6699, allocations: 52 kB / 0.849 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.67, allocations: 28 kB / 0.849 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.672, allocations: 1.238 MB / 0.8502 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.6765, allocations: 2.635 MB / 0.8528 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.6778, allocations: 0.7236 MB / 0.8535 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.6783, allocations: 266.7 kB / 0.8538 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.455e-05/0.6784, allocations: 28.62 kB / 0.8538 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008788/0.6792, allocations: 0.5523 MB / 0.8543 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=78): time 2.604e-06/0.6792, allocations: 0 / 0.8543 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.003053/0.6823, allocations: 1.06 MB / 0.8554 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6824, allocations: 200.6 kB / 0.8556 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009982/0.6834, allocations: 0.7117 MB / 0.8563 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.6835, allocations: 37.7 kB / 0.8563 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/0.684, allocations: 0.5163 MB / 0.8568 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.6843, allocations: 269.7 kB / 0.857 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.6845, allocations: 142.6 kB / 0.8572 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.6847, allocations: 337.9 kB / 0.8575 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.6852, allocations: 229.9 kB / 0.8577 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.6858, allocations: 490.8 kB / 0.8582 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.6869, allocations: 0.5689 MB / 0.8587 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6869, allocations: 0 / 0.8587 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002009/0.6889, allocations: 0.7984 MB / 0.8595 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6889, allocations: 8 kB / 0.8595 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.6889, allocations: 0 / 0.8595 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.6896, allocations: 84.91 kB / 0.8596 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.6902, allocations: 155.7 kB / 0.8598 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.6924, allocations: 1.532 MB / 0.8613 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.6931, allocations: 79.48 kB / 0.8613 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.6931, allocations: 31.97 kB / 0.8614 GB, free: 0.6406 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 (84): * 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: 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.0004964/0.6936, allocations: 281.6 kB / 0.8616 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.6938, allocations: 91.39 kB / 0.8617 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.6961, allocations: 1.032 MB / 0.8627 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6961, allocations: 11.98 kB / 0.8627 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6961, allocations: 3.75 kB / 0.8627 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.6961, allocations: 7.984 kB / 0.8628 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.6972, allocations: 0.8328 MB / 0.8636 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6972, allocations: 4 kB / 0.8636 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/0.6978, allocations: 147.8 kB / 0.8637 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.6982, allocations: 68.8 kB / 0.8638 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.6983, allocations: 23.98 kB / 0.8638 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.7002, allocations: 1.543 MB / 0.8653 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.7002, allocations: 3.938 kB / 0.8653 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.7021, allocations: 0.8972 MB / 0.8662 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.7025, allocations: 199 kB / 0.8664 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.7026, allocations: 19.98 kB / 0.8664 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.7031, allocations: 54.14 kB / 0.8664 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7033, allocations: 72.75 kB / 0.8665 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.7033, allocations: 31.98 kB / 0.8665 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007168/0.704, allocations: 0.5068 MB / 0.867 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.704, allocations: 0 / 0.867 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009046/0.7049, allocations: 346.9 kB / 0.8674 GB, free: 10.29 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.004072/0.709, allocations: 1.979 MB / 0.8693 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.7106, allocations: 0.7336 MB / 0.87 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7106, allocations: 4.188 kB / 0.87 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008732/0.7114, allocations: 488.2 kB / 0.8705 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.7126, allocations: 307 kB / 0.8708 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.7247, allocations: 6.758 MB / 0.8774 GB, free: 100 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.7252, allocations: 0.4927 MB / 0.8779 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008299/0.726, allocations: 263 kB / 0.8781 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000628/0.7267, allocations: 459.2 kB / 0.8786 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of SimCode: time 9.52e-07/0.7267, allocations: 0 / 0.8786 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/0.7842, allocations: 23.53 MB / 0.9015 GB, free: 7.578 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.79, allocations: 8.062 kB / 0.9015 GB, free: 7.57 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.504027027986012] Failed to read output from testmodel.py, exit status != 0: 15.069149588001892 15.094946086 14.428199401 Calling exit ...