Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001752/0.001752, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002102/0.002102, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.376/1.376, 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.8284/0.8284, allocations: 134 MB / 446.4 MB, free: 9.926 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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.0021/0.0021, allocations: 72.48 kB / 0.6185 GB, free: 7.055 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.162, allocations: 85.91 MB / 0.7024 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00682/0.1688, allocations: 4.124 MB / 0.7064 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.54/0.7088, allocations: 132.7 MB / 0.836 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006762/0.7095, allocations: 29.19 kB / 0.836 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.71, allocations: 195.6 kB / 0.8362 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.7115, allocations: 0.5144 MB / 0.8367 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.7133, allocations: 0.8609 MB / 0.8375 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.7146, allocations: 1.337 MB / 0.8388 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.7155, allocations: 0.6395 MB / 0.8395 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006758/0.7161, allocations: 0.568 MB / 0.84 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.7167, allocations: 0.5051 MB / 0.8405 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.7169, allocations: 148 kB / 0.8406 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.7179, allocations: 0.5042 MB / 0.8411 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.7183, allocations: 354.9 kB / 0.8415 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.7188, allocations: 0.5207 MB / 0.842 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.721, allocations: 1.905 MB / 0.8438 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.721, allocations: 1.5 kB / 0.8438 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.721, allocations: 0 / 0.8438 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.7211, allocations: 4 kB / 0.8439 GB, free: 2.492 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002497/0.7236, allocations: 1.581 MB / 0.8454 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.7236, allocations: 16.03 kB / 0.8454 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.7238, allocations: 177.5 kB / 0.8456 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.7252, allocations: 259.8 kB / 0.8458 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.7266, allocations: 0.7821 MB / 0.8466 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.7267, allocations: 82.3 kB / 0.8467 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.7268, allocations: 115.9 kB / 0.8468 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.7288, allocations: 1.389 MB / 0.8481 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.7288, allocations: 0 / 0.8481 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.384e-05/0.7289, allocations: 48 kB / 0.8482 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.729, allocations: 28 kB / 0.8482 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.7309, allocations: 1.191 MB / 0.8494 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.7352, allocations: 2.639 MB / 0.852 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.7365, allocations: 0.7269 MB / 0.8527 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.737, allocations: 270.7 kB / 0.8529 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/0.7371, allocations: 26.23 kB / 0.8529 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008994/0.738, allocations: 0.5371 MB / 0.8535 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=78): time 2.214e-06/0.738, allocations: 0 / 0.8535 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.002872/0.7409, allocations: 1.073 MB / 0.8545 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.7411, allocations: 192.5 kB / 0.8547 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009212/0.742, allocations: 0.7156 MB / 0.8554 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.742, allocations: 41.7 kB / 0.8554 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.7425, allocations: 0.5201 MB / 0.8559 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.7427, allocations: 269.8 kB / 0.8562 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.7429, allocations: 142.6 kB / 0.8563 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7431, allocations: 333.9 kB / 0.8567 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.7435, allocations: 233.9 kB / 0.8569 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.7442, allocations: 475.6 kB / 0.8573 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7452, allocations: 0.5799 MB / 0.8579 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7453, allocations: 3.938 kB / 0.8579 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001794/0.747, allocations: 0.798 MB / 0.8587 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.7471, allocations: 8 kB / 0.8587 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.7471, allocations: 2.812 kB / 0.8587 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.7477, allocations: 84.86 kB / 0.8588 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.7483, allocations: 143.8 kB / 0.8589 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.7504, allocations: 1.523 MB / 0.8604 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.751, allocations: 95.52 kB / 0.8605 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.7511, allocations: 27.98 kB / 0.8605 GB, free: 0.8086 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 (84): * Single equations (assignments): 83 * 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.0004916/0.7516, allocations: 281.6 kB / 0.8608 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.7517, allocations: 95.36 kB / 0.8609 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.754, allocations: 1.03 MB / 0.8619 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.754, allocations: 8 kB / 0.8619 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.754, allocations: 0 / 0.8619 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.754, allocations: 7.984 kB / 0.8619 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.7551, allocations: 0.8404 MB / 0.8627 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.7551, allocations: 3.984 kB / 0.8627 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.7557, allocations: 143.8 kB / 0.8629 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004148/0.7561, allocations: 80.77 kB / 0.8629 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.7561, allocations: 19.98 kB / 0.863 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.758, allocations: 1.551 MB / 0.8645 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.758, allocations: 0 / 0.8645 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.7598, allocations: 0.8932 MB / 0.8653 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.7602, allocations: 203 kB / 0.8655 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.7603, allocations: 16 kB / 0.8656 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005168/0.7608, allocations: 61.81 kB / 0.8656 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.7609, allocations: 64.88 kB / 0.8657 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.761, allocations: 27.98 kB / 0.8657 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006516/0.7617, allocations: 0.5068 MB / 0.8662 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7617, allocations: 0 / 0.8662 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008045/0.7625, allocations: 342.9 kB / 0.8665 GB, free: 10.46 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.004051/0.7665, allocations: 1.971 MB / 0.8684 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.7681, allocations: 0.7453 MB / 0.8692 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7681, allocations: 4 kB / 0.8692 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.7689, allocations: 480.4 kB / 0.8696 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.77, allocations: 307.9 kB / 0.8699 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.7815, allocations: 6.765 MB / 0.8765 GB, free: 272 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.782, allocations: 0.5006 MB / 0.877 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008327/0.7829, allocations: 274.8 kB / 0.8773 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.7835, allocations: 463.2 kB / 0.8777 GB, free: 15 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/0.7835, allocations: 0 / 0.8777 GB, free: 15 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06336/0.8469, allocations: 23.69 MB / 0.9009 GB, free: 7.52 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.95, allocations: 8.469 kB / 0.9009 GB, free: 7.516 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.684872237965465] Failed to read output from testmodel.py, exit status != 0: 14.173000040929765 14.188057771 13.46380262 Calling exit ...