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.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.001602/0.001602, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001788/0.001788, allocations: 210.4 kB / 22.24 MB, free: 5.262 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.426/1.426, allocations: 230.6 MB / 256 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.796/0.796, allocations: 134 MB / 446.4 MB, free: 9.898 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.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: 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.001909/0.001909, allocations: 70.2 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1645, allocations: 85.91 MB / 0.7024 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006004/0.1705, allocations: 3.861 MB / 0.7061 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5143/0.6848, allocations: 132.6 MB / 0.8356 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007256/0.6856, allocations: 26.81 kB / 0.8357 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.6861, allocations: 177.8 kB / 0.8358 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.6877, allocations: 0.4938 MB / 0.8363 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.6896, allocations: 0.8508 MB / 0.8372 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.6908, allocations: 1.223 MB / 0.8384 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007153/0.6915, allocations: 0.4897 MB / 0.8388 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.6921, allocations: 490.2 kB / 0.8393 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000517/0.6926, allocations: 437.7 kB / 0.8397 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.6928, allocations: 112 kB / 0.8398 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009693/0.6938, allocations: 0.505 MB / 0.8403 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.694, allocations: 295 kB / 0.8406 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.6944, allocations: 445.7 kB / 0.841 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.6963, allocations: 1.648 MB / 0.8426 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6963, allocations: 4 kB / 0.8426 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6963, allocations: 0 / 0.8426 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.6964, allocations: 0 / 0.8426 GB, free: 3.625 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002223/0.6986, allocations: 1.377 MB / 0.844 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6986, allocations: 8.031 kB / 0.844 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.6988, allocations: 143.8 kB / 0.8441 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.7005, allocations: 263.9 kB / 0.8444 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.7017, allocations: 0.7058 MB / 0.8451 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.7018, allocations: 70.88 kB / 0.8451 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.7019, allocations: 84 kB / 0.8452 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.7037, allocations: 1.206 MB / 0.8464 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.7037, allocations: 3.938 kB / 0.8464 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.7038, allocations: 40 kB / 0.8464 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.7039, allocations: 20 kB / 0.8465 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.7057, allocations: 1.085 MB / 0.8475 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.7097, allocations: 2.257 MB / 0.8497 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.7112, allocations: 0.7034 MB / 0.8504 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.7117, allocations: 262.6 kB / 0.8507 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/0.7122, allocations: 92.62 kB / 0.8507 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009009/0.7131, allocations: 0.526 MB / 0.8513 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.324e-06/0.7131, allocations: 3.938 kB / 0.8513 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002988/0.7161, allocations: 1.022 MB / 0.8523 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.7162, allocations: 188.6 kB / 0.8524 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/0.7171, allocations: 0.6292 MB / 0.8531 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.7172, allocations: 45.7 kB / 0.8531 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.7175, allocations: 413.5 kB / 0.8535 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.7177, allocations: 249.8 kB / 0.8537 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.7179, allocations: 142.2 kB / 0.8539 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.7181, allocations: 386.7 kB / 0.8542 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.7186, allocations: 217.2 kB / 0.8544 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.7193, allocations: 466.3 kB / 0.8549 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.7203, allocations: 0.5393 MB / 0.8554 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7203, allocations: 0 / 0.8554 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001821/0.7222, allocations: 0.7475 MB / 0.8561 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.7222, allocations: 4 kB / 0.8561 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7222, allocations: 0 / 0.8561 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.7228, allocations: 84.8 kB / 0.8562 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.7234, allocations: 143.8 kB / 0.8564 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.7255, allocations: 1.516 MB / 0.8578 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.7261, allocations: 79.52 kB / 0.8579 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.7262, allocations: 27.98 kB / 0.8579 GB, free: 3.379 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 (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.0004608/0.7266, allocations: 257.7 kB / 0.8582 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.7268, allocations: 83.48 kB / 0.8583 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.7291, allocations: 0.9985 MB / 0.8592 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.7291, allocations: 8 kB / 0.8593 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7291, allocations: 8 kB / 0.8593 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.7291, allocations: 7.922 kB / 0.8593 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.7325, allocations: 1.775 MB / 0.861 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7325, allocations: 0 / 0.861 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.7331, allocations: 147.8 kB / 0.8611 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.7335, allocations: 68.78 kB / 0.8612 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.7335, allocations: 23.98 kB / 0.8612 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.7355, allocations: 1.555 MB / 0.8627 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7355, allocations: 0 / 0.8627 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.7375, allocations: 0.9282 MB / 0.8637 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.7379, allocations: 187.2 kB / 0.8638 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.738, allocations: 20.69 kB / 0.8639 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.7385, allocations: 51.94 kB / 0.8639 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.7387, allocations: 64.88 kB / 0.864 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/0.7387, allocations: 31.98 kB / 0.864 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006048/0.7393, allocations: 463 kB / 0.8644 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7393, allocations: 0 / 0.8644 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008435/0.7402, allocations: 311.1 kB / 0.8647 GB, free: 12.21 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 (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.004084/0.7443, allocations: 2.028 MB / 0.8667 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.7459, allocations: 0.7237 MB / 0.8674 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7459, allocations: 0 / 0.8674 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009058/0.7468, allocations: 472.4 kB / 0.8679 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.7479, allocations: 295.6 kB / 0.8682 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.7588, allocations: 6.139 MB / 0.8741 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.7593, allocations: 432.2 kB / 0.8746 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008349/0.7601, allocations: 262.3 kB / 0.8748 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/0.7607, allocations: 387.3 kB / 0.8752 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.7607, allocations: 0 / 0.8752 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05968/0.8204, allocations: 22.23 MB / 0.8969 GB, free: 11.56 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.75, allocations: 7.875 kB / 0.8969 GB, free: 11.55 MB / 0.67 GB " [Timeout remaining time 646] (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: 17.390994971152395] Failed to read output from testmodel.py, exit status != 0: 13.970924597233534 13.986478331 13.287140816 Calling exit ...