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.001617/0.001617, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001864/0.001864, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.433/1.433, allocations: 230.6 MB / 253.5 MB, free: 15.1 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: 133.9 MB / 443.5 MB, free: 13.93 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.00207/0.00207, allocations: 64.25 kB / 0.6141 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1482, allocations: 85.86 MB / 0.6979 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00657/0.1548, allocations: 4.236 MB / 0.7021 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.3362, allocations: 153.9 MB / 0.8524 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008789/0.3371, allocations: 23.81 kB / 0.8524 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.3377, allocations: 174.4 kB / 0.8526 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.3393, allocations: 0.4947 MB / 0.8531 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.3414, allocations: 0.8325 MB / 0.8539 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.3429, allocations: 1.223 MB / 0.8551 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008299/0.3437, allocations: 0.5189 MB / 0.8556 GB, free: 12.92 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006721/0.3444, allocations: 490.2 kB / 0.8561 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.345, allocations: 489.8 kB / 0.8565 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.3451, allocations: 116 kB / 0.8566 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.3462, allocations: 0.5269 MB / 0.8571 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.3464, allocations: 303 kB / 0.8574 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.3469, allocations: 0.5323 MB / 0.858 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.3491, allocations: 1.652 MB / 0.8596 GB, free: 8.828 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3491, allocations: 3.938 kB / 0.8596 GB, free: 8.824 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3491, allocations: 0 / 0.8596 GB, free: 8.824 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.3491, allocations: 0 / 0.8596 GB, free: 8.824 MB / 0.67 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.002517/0.3516, allocations: 1.453 MB / 0.861 GB, free: 7.309 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3517, allocations: 17.62 kB / 0.861 GB, free: 7.293 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.014e-05/0.3517, allocations: 22.19 kB / 0.861 GB, free: 7.273 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.3519, allocations: 139.8 kB / 0.8612 GB, free: 7.129 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.3537, allocations: 267.9 kB / 0.8614 GB, free: 6.867 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3549, allocations: 0.7658 MB / 0.8622 GB, free: 6.059 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.3549, allocations: 66 kB / 0.8622 GB, free: 5.996 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3551, allocations: 84 kB / 0.8623 GB, free: 5.914 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3567, allocations: 0.9519 MB / 0.8632 GB, free: 4.922 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3567, allocations: 4 kB / 0.8632 GB, free: 4.918 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.3568, allocations: 36 kB / 0.8633 GB, free: 4.883 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.3568, allocations: 20 kB / 0.8633 GB, free: 4.863 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.3587, allocations: 1.132 MB / 0.8644 GB, free: 3.734 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.3627, allocations: 2.551 MB / 0.8669 GB, free: 1.113 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3643, allocations: 0.7859 MB / 0.8677 GB, free: 312 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.3648, allocations: 258.7 kB / 0.8679 GB, free: 48 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3425/0.7073, allocations: 471.3 kB / 0.8684 GB, free: 169.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.7083, allocations: 436.2 kB / 0.8688 GB, free: 169.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=73): time 2.214e-06/0.7083, allocations: 0 / 0.8688 GB, free: 169.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=73): time 0.003183/0.7115, allocations: 1.105 MB / 0.8698 GB, free: 168.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.7116, allocations: 190 kB / 0.87 GB, free: 168.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.7124, allocations: 0.6277 MB / 0.8706 GB, free: 168.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.7125, allocations: 36.64 kB / 0.8707 GB, free: 168.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.7127, allocations: 422.6 kB / 0.8711 GB, free: 168.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.7129, allocations: 251.1 kB / 0.8713 GB, free: 167.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.7131, allocations: 135.5 kB / 0.8714 GB, free: 167.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7132, allocations: 385.4 kB / 0.8718 GB, free: 167.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.7137, allocations: 223.5 kB / 0.872 GB, free: 167.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.7143, allocations: 327.8 kB / 0.8723 GB, free: 167.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.7153, allocations: 0.5394 MB / 0.8729 GB, free: 167 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7153, allocations: 0 / 0.8729 GB, free: 167 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001813/0.7172, allocations: 0.7391 MB / 0.8736 GB, free: 166.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7172, allocations: 8.656 kB / 0.8736 GB, free: 166.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.7172, allocations: 9.188 kB / 0.8736 GB, free: 166.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.7178, allocations: 82.62 kB / 0.8737 GB, free: 166.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.7184, allocations: 141 kB / 0.8738 GB, free: 166.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.7202, allocations: 1.631 MB / 0.8754 GB, free: 165.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.7207, allocations: 80.73 kB / 0.8755 GB, free: 165.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.7207, allocations: 28.02 kB / 0.8755 GB, free: 165.2 MB / 0.67 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.000325/0.7211, allocations: 261.5 kB / 0.8758 GB, free: 165 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.7212, allocations: 81.97 kB / 0.8758 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.7235, allocations: 0.9989 MB / 0.8768 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.7235, allocations: 13.17 kB / 0.8768 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7235, allocations: 0.9375 kB / 0.8768 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.7235, allocations: 8.406 kB / 0.8768 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.7267, allocations: 1.914 MB / 0.8787 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7267, allocations: 3.953 kB / 0.8787 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.7274, allocations: 145 kB / 0.8789 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.7278, allocations: 75.17 kB / 0.8789 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.7279, allocations: 23.95 kB / 0.8789 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.7295, allocations: 1.664 MB / 0.8806 GB, free: 162 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7295, allocations: 0.5 kB / 0.8806 GB, free: 162 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.7315, allocations: 0.9257 MB / 0.8815 GB, free: 161.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.7318, allocations: 268 kB / 0.8817 GB, free: 161.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.7319, allocations: 20.89 kB / 0.8818 GB, free: 161.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.7325, allocations: 56.59 kB / 0.8818 GB, free: 161.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.7327, allocations: 62.52 kB / 0.8819 GB, free: 161.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/0.7327, allocations: 28.12 kB / 0.8819 GB, free: 161.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005821/0.7333, allocations: 461.2 kB / 0.8823 GB, free: 161.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7333, allocations: 0 / 0.8823 GB, free: 161.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008186/0.7341, allocations: 308.8 kB / 0.8826 GB, free: 161.1 MB / 0.67 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.003554/0.7377, allocations: 1.996 MB / 0.8846 GB, free: 160.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.7392, allocations: 0.7241 MB / 0.8853 GB, free: 159.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7392, allocations: 1.812 kB / 0.8853 GB, free: 159.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007441/0.7399, allocations: 466.3 kB / 0.8857 GB, free: 159.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.7409, allocations: 294.3 kB / 0.886 GB, free: 159.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008546/0.7495, allocations: 6.133 MB / 0.892 GB, free: 153.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.7498, allocations: 1.029 MB / 0.893 GB, free: 152.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006458/0.7505, allocations: 268.8 kB / 0.8933 GB, free: 152.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.7509, allocations: 379.3 kB / 0.8936 GB, free: 152.2 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.7509, allocations: 0 / 0.8936 GB, free: 152.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/0.7928, allocations: 20.89 MB / 0.914 GB, free: 131.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.71, allocations: 8.062 kB / 0.914 GB, free: 131.6 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.617094433982857] Failed to read output from testmodel.py, exit status != 0: 14.241225747973658 13.97007473 13.618925282 Calling exit ...