Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.00129/0.00129, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.002282/0.002282, allocations: 212.9 kB / 19.43 MB, free: 3.66 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.8339/0.8339, allocations: 133.9 MB / 442.8 MB, free: 11.39 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.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001918/0.001918, allocations: 71.05 kB / 0.6134 GB, free: 8.793 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1656, allocations: 85.85 MB / 0.6973 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006665/0.1723, allocations: 4.251 MB / 0.7014 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5426/0.715, allocations: 153.9 MB / 0.8517 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008079/0.7158, allocations: 23.81 kB / 0.8517 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.7164, allocations: 174.4 kB / 0.8519 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.7181, allocations: 496.3 kB / 0.8523 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.7204, allocations: 0.8266 MB / 0.8531 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.7223, allocations: 1.231 MB / 0.8543 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009311/0.7232, allocations: 0.5131 MB / 0.8548 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008209/0.724, allocations: 494.2 kB / 0.8553 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.7247, allocations: 0.4939 MB / 0.8558 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.7248, allocations: 116 kB / 0.8559 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.7259, allocations: 0.5125 MB / 0.8564 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.7262, allocations: 299 kB / 0.8567 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005541/0.7268, allocations: 0.5479 MB / 0.8572 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.7295, allocations: 1.634 MB / 0.8588 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7295, allocations: 4 kB / 0.8588 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7295, allocations: 0 / 0.8588 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.7295, allocations: 0 / 0.8588 GB, free: 2.941 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002747/0.7322, allocations: 1.453 MB / 0.8602 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.7323, allocations: 9.109 kB / 0.8603 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.7325, allocations: 155.8 kB / 0.8604 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.7351, allocations: 359.8 kB / 0.8607 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.7366, allocations: 0.7741 MB / 0.8615 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.7367, allocations: 66 kB / 0.8616 GB, free: 32 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.7368, allocations: 92.08 kB / 0.8617 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.739, allocations: 0.9995 MB / 0.8626 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.739, allocations: 0 / 0.8626 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.7391, allocations: 44 kB / 0.8627 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.7392, allocations: 20 kB / 0.8627 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.7419, allocations: 1.221 MB / 0.8639 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.7471, allocations: 2.565 MB / 0.8664 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.7498, allocations: 0.8886 MB / 0.8673 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.7506, allocations: 310 kB / 0.8676 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.862e-05/0.7507, allocations: 40.61 kB / 0.8676 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.7518, allocations: 491.2 kB / 0.8681 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=75): time 2.134e-06/0.7518, allocations: 0 / 0.8681 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75): time 0.004148/0.756, allocations: 1.242 MB / 0.8693 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.7561, allocations: 188.6 kB / 0.8695 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009922/0.7571, allocations: 0.6214 MB / 0.8701 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.7573, allocations: 41.7 kB / 0.8701 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.7577, allocations: 424.8 kB / 0.8705 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.7579, allocations: 257.8 kB / 0.8707 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.7582, allocations: 134.2 kB / 0.8709 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002554/0.7585, allocations: 386.7 kB / 0.8712 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008816/0.7593, allocations: 273.1 kB / 0.8715 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000927/0.7603, allocations: 374.8 kB / 0.8719 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.7619, allocations: 0.6252 MB / 0.8725 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7619, allocations: 0 / 0.8725 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002657/0.7646, allocations: 0.8371 MB / 0.8733 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.7646, allocations: 10.03 kB / 0.8733 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7646, allocations: 0 / 0.8733 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/0.7654, allocations: 86.48 kB / 0.8734 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/0.7662, allocations: 167.8 kB / 0.8735 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.7689, allocations: 1.635 MB / 0.8751 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009216/0.7698, allocations: 95.53 kB / 0.8752 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.592e-05/0.7699, allocations: 27.98 kB / 0.8753 GB, free: 1.562 MB / 0.6387 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 (78): * Single equations (assignments): 77 * 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.0005636/0.7704, allocations: 265.7 kB / 0.8755 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.7707, allocations: 83.44 kB / 0.8756 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.7738, allocations: 1.097 MB / 0.8767 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.7739, allocations: 15.94 kB / 0.8767 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.7739, allocations: 3.938 kB / 0.8767 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.7739, allocations: 3.984 kB / 0.8767 GB, free: 80 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/0.7785, allocations: 2.049 MB / 0.8787 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.7785, allocations: 7.734 kB / 0.8787 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.7793, allocations: 171.8 kB / 0.8789 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.7798, allocations: 72.78 kB / 0.8789 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.7799, allocations: 19.98 kB / 0.8789 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.7823, allocations: 1.658 MB / 0.8806 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7823, allocations: 4.062 kB / 0.8806 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/0.7853, allocations: 1.026 MB / 0.8816 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.7858, allocations: 272.2 kB / 0.8818 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.786, allocations: 16 kB / 0.8818 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/0.7868, allocations: 75.92 kB / 0.8819 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.787, allocations: 60.92 kB / 0.882 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.7871, allocations: 31.97 kB / 0.882 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009109/0.788, allocations: 455 kB / 0.8824 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.788, allocations: 0 / 0.8824 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001053/0.7891, allocations: 315.1 kB / 0.8827 GB, free: 9.637 MB / 0.6544 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 (88): * Single equations (assignments): 85 * 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.005288/0.7944, allocations: 2.076 MB / 0.8848 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.7969, allocations: 0.8098 MB / 0.8856 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.7969, allocations: 4 kB / 0.8856 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.7983, allocations: 0.5197 MB / 0.8861 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.7999, allocations: 283.9 kB / 0.8863 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.8151, allocations: 6.445 MB / 0.8926 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/0.8159, allocations: 1.031 MB / 0.8936 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001048/0.8169, allocations: 274.5 kB / 0.8939 GB, free: 14.26 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007118/0.8176, allocations: 387.3 kB / 0.8943 GB, free: 13.88 MB / 0.67 GB Notification: Performance of SimCode: time 1.292e-06/0.8176, allocations: 0 / 0.8943 GB, free: 13.88 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/0.8825, allocations: 21.16 MB / 0.9149 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.07, allocations: 17.53 kB / 0.915 GB, free: 8.977 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.05667827700381] Failed to read output from testmodel.py, exit status != 0: 14.282234199999948 14.308603764 13.574725215 Calling exit ...