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.001291/0.001291, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.00149/0.00149, allocations: 214.6 kB / 22.25 MB, free: 4.867 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.797 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.82/0.82, allocations: 134 MB / 446.4 MB, free: 9.902 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.001959/0.001959, allocations: 66.81 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1713, allocations: 85.91 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006175/0.1774, allocations: 3.868 MB / 0.7061 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5165/0.6939, allocations: 132.6 MB / 0.8356 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00068/0.6946, allocations: 22.59 kB / 0.8356 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.6951, allocations: 175.3 kB / 0.8358 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.6968, allocations: 0.4886 MB / 0.8363 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.6988, allocations: 0.8354 MB / 0.8371 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.7002, allocations: 1.237 MB / 0.8383 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/0.701, allocations: 496.6 kB / 0.8388 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005867/0.7015, allocations: 499.8 kB / 0.8393 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.7021, allocations: 437.1 kB / 0.8397 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.7022, allocations: 116 kB / 0.8398 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009959/0.7032, allocations: 0.4897 MB / 0.8403 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.7035, allocations: 307 kB / 0.8406 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.7039, allocations: 437.8 kB / 0.841 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.7059, allocations: 1.652 MB / 0.8426 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.7059, allocations: 0 / 0.8426 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7059, allocations: 4 kB / 0.8426 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.7059, allocations: 0 / 0.8426 GB, free: 3.711 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002263/0.7081, allocations: 1.377 MB / 0.8439 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7082, allocations: 12.03 kB / 0.8439 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.7083, allocations: 147.9 kB / 0.8441 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.7107, allocations: 355.8 kB / 0.8444 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.712, allocations: 0.7065 MB / 0.8451 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.7121, allocations: 69.94 kB / 0.8452 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.7122, allocations: 88 kB / 0.8453 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.7143, allocations: 1.259 MB / 0.8465 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.7143, allocations: 0 / 0.8465 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.7144, allocations: 40 kB / 0.8465 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.7144, allocations: 24 kB / 0.8466 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.7166, allocations: 1.175 MB / 0.8477 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.7209, allocations: 2.26 MB / 0.8499 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.7232, allocations: 0.8214 MB / 0.8507 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/0.7239, allocations: 310.6 kB / 0.851 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-05/0.724, allocations: 20.64 kB / 0.851 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.7251, allocations: 0.5847 MB / 0.8516 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=75): time 2.685e-06/0.7251, allocations: 0 / 0.8516 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75): time 0.003573/0.7287, allocations: 1.17 MB / 0.8527 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.7288, allocations: 196.5 kB / 0.8529 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/0.7296, allocations: 0.6214 MB / 0.8535 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.7297, allocations: 45.7 kB / 0.8536 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.7301, allocations: 416.9 kB / 0.854 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.7303, allocations: 261.8 kB / 0.8542 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.7305, allocations: 138.8 kB / 0.8544 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.7307, allocations: 386.7 kB / 0.8547 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/0.7314, allocations: 269.1 kB / 0.855 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/0.7323, allocations: 499.3 kB / 0.8555 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.7337, allocations: 0.6292 MB / 0.8561 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7337, allocations: 2.625 kB / 0.8561 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002256/0.736, allocations: 0.8341 MB / 0.8569 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.736, allocations: 8 kB / 0.8569 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.736, allocations: 0 / 0.8569 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.7366, allocations: 84.81 kB / 0.857 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.7373, allocations: 155.8 kB / 0.8571 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.7396, allocations: 1.524 MB / 0.8586 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.7403, allocations: 91.52 kB / 0.8587 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.7404, allocations: 31.97 kB / 0.8587 GB, free: 2.613 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 (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.00047/0.7409, allocations: 265.7 kB / 0.859 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.741, allocations: 83.44 kB / 0.8591 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.7438, allocations: 1.106 MB / 0.8601 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.7438, allocations: 8 kB / 0.8602 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7438, allocations: 7.938 kB / 0.8602 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.7438, allocations: 3.984 kB / 0.8602 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/0.7477, allocations: 1.907 MB / 0.862 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7477, allocations: 0 / 0.862 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/0.7485, allocations: 171.8 kB / 0.8622 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.7489, allocations: 72.72 kB / 0.8623 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.749, allocations: 23.98 kB / 0.8623 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.7509, allocations: 1.547 MB / 0.8638 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7509, allocations: 4.062 kB / 0.8638 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.7533, allocations: 1.026 MB / 0.8648 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.7538, allocations: 187.1 kB / 0.865 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.7539, allocations: 23.94 kB / 0.865 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.7546, allocations: 73.33 kB / 0.8651 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.7547, allocations: 65.02 kB / 0.8651 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.7548, allocations: 31.98 kB / 0.8652 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006513/0.7555, allocations: 459 kB / 0.8656 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7555, allocations: 0 / 0.8656 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009396/0.7564, allocations: 310.7 kB / 0.8659 GB, free: 11.07 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 (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.004651/0.7611, allocations: 2.117 MB / 0.868 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00217/0.7632, allocations: 0.8176 MB / 0.8688 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7632, allocations: 4 kB / 0.8688 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.7644, allocations: 0.5118 MB / 0.8693 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7657, allocations: 296.3 kB / 0.8695 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.7785, allocations: 6.438 MB / 0.8758 GB, free: 1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.779, allocations: 439.8 kB / 0.8763 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009729/0.78, allocations: 274.5 kB / 0.8765 GB, free: 272 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.7806, allocations: 395.3 kB / 0.8769 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/0.7806, allocations: 0 / 0.8769 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06595/0.8466, allocations: 22.62 MB / 0.899 GB, free: 9.457 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.74, allocations: 0 / 0.899 GB, free: 9.457 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 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: 17.46451096702367] Failed to read output from testmodel.py, exit status != 0: 13.966743339784443 13.990357666 13.280244865 Calling exit ...