Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007475/0.0007475, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0007996/0.0007996, allocations: 221.7 kB / 22.26 MB, free: 3.688 MB / 13.93 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 0.974/0.974, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8324/0.8324, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_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.0009203/0.0009203, allocations: 67.77 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5558, allocations: 102 MB / 0.8179 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005317/0.5611, allocations: 5.278 MB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1428/0.7039, allocations: 154.2 MB / 0.9736 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.7049, allocations: 23.81 kB / 0.9737 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006714/0.7056, allocations: 206.1 kB / 0.9739 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.7074, allocations: 0.5813 MB / 0.9744 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.7091, allocations: 0.9115 MB / 0.9753 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.7102, allocations: 1.483 MB / 0.9768 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005544/0.7107, allocations: 472.7 kB / 0.9772 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.7113, allocations: 0.5411 MB / 0.9777 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.7118, allocations: 0.564 MB / 0.9783 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.7119, allocations: 124 kB / 0.9784 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00067/0.7126, allocations: 0.5425 MB / 0.9789 GB, free: 292 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.7128, allocations: 322.9 kB / 0.9793 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.7131, allocations: 0.6141 MB / 0.9799 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.7144, allocations: 1.816 MB / 0.9816 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7144, allocations: 0 / 0.9816 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7144, allocations: 0 / 0.9816 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.7144, allocations: 0 / 0.9816 GB, free: 13.53 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001605/0.716, allocations: 1.504 MB / 0.9831 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7161, allocations: 12.03 kB / 0.9831 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.7162, allocations: 152.2 kB / 0.9833 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004869/0.7211, allocations: 1.795 MB / 0.985 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009105/0.722, allocations: 0.7647 MB / 0.9858 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.722, allocations: 77.98 kB / 0.9858 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.7221, allocations: 88 kB / 0.9859 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.725, allocations: 1.886 MB / 0.9878 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.725, allocations: 0 / 0.9878 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.7251, allocations: 36 kB / 0.9878 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.7251, allocations: 24 kB / 0.9878 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00463/0.7297, allocations: 2.794 MB / 0.9905 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005632/0.7354, allocations: 5.336 MB / 0.9958 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.7382, allocations: 1.597 MB / 0.9973 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.7405, allocations: 1.096 MB / 0.9984 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.7405, allocations: 36.67 kB / 0.9984 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002363/0.7429, allocations: 1.348 MB / 0.9997 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=82): time 1.974e-06/0.7429, allocations: 0 / 0.9997 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=82): time 0.007032/0.7499, allocations: 3.48 MB / 1.003 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.75, allocations: 188.6 kB / 1.003 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006282/0.7506, allocations: 0.6646 MB / 1.004 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.7507, allocations: 45.7 kB / 1.004 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.751, allocations: 440.9 kB / 1.004 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.7512, allocations: 277.6 kB / 1.005 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.7513, allocations: 162.6 kB / 1.005 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.7516, allocations: 386.8 kB / 1.005 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.7538, allocations: 1.068 MB / 1.006 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/0.7559, allocations: 1.166 MB / 1.007 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/0.7598, allocations: 1.966 MB / 1.009 GB, free: 140 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7598, allocations: 0 / 1.009 GB, free: 140 kB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004581/0.7643, allocations: 2.34 MB / 1.012 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7644, allocations: 4 kB / 1.012 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.7644, allocations: 0 / 1.012 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.7647, allocations: 84.86 kB / 1.012 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.7659, allocations: 483.5 kB / 1.012 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.7675, allocations: 1.541 MB / 1.014 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.7687, allocations: 411.2 kB / 1.014 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.7687, allocations: 31.97 kB / 1.014 GB, free: 11.12 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003891/0.7691, allocations: 277.6 kB / 1.014 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.7693, allocations: 87.44 kB / 1.014 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/0.7742, allocations: 2.658 MB / 1.017 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.7742, allocations: 8 kB / 1.017 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7742, allocations: 0 / 1.017 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7742, allocations: 7.969 kB / 1.017 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.781, allocations: 4.41 MB / 1.021 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.781, allocations: 0 / 1.021 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.7821, allocations: 479.5 kB / 1.022 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.7823, allocations: 64.8 kB / 1.022 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.7823, allocations: 35.95 kB / 1.022 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.7835, allocations: 1.559 MB / 1.023 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7835, allocations: 0 / 1.023 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.7881, allocations: 2.532 MB / 1.026 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/0.7886, allocations: 239 kB / 1.026 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/0.7887, allocations: 20 kB / 1.026 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.7898, allocations: 379.6 kB / 1.026 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.7899, allocations: 80.8 kB / 1.027 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.79, allocations: 35.97 kB / 1.027 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004524/0.7904, allocations: 491 kB / 1.027 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7904, allocations: 0 / 1.027 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007623/0.7912, allocations: 375.1 kB / 1.027 GB, free: 12.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.005757/0.797, allocations: 3.577 MB / 1.031 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004791/0.8018, allocations: 2.428 MB / 1.033 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8018, allocations: 0 / 1.033 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.804, allocations: 1.308 MB / 1.035 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.8048, allocations: 298.9 kB / 1.035 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/0.8221, allocations: 11.31 MB / 1.046 GB, free: 10.03 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.8226, allocations: 1.047 MB / 1.047 GB, free: 8.949 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000732/0.8233, allocations: 314.9 kB / 1.047 GB, free: 8.637 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007734/0.8241, allocations: 423.2 kB / 1.048 GB, free: 8.223 MB / 0.823 GB Notification: Performance of SimCode: time 1.212e-06/0.8241, allocations: 0 / 1.048 GB, free: 8.223 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.8657, allocations: 25.51 MB / 1.073 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.561, allocations: 11.88 kB / 1.073 GB, free: 14.88 MB / 0.8542 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.810018955962732] Failed to read output from testmodel.py, exit status != 0: 9.714342230930924 9.723322683 9.006820007 Calling exit ...