Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.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.001952/0.001952, allocations: 107.6 kB / 16.45 MB, free: 6.5 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.002362/0.002362, allocations: 210.4 kB / 19.42 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 9.012 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.8461/0.8461, allocations: 134 MB / 442.8 MB, free: 11.35 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.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_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.00195/0.00195, allocations: 70.22 kB / 0.6134 GB, free: 8.801 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1593, allocations: 85.85 MB / 0.6973 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006417/0.1657, allocations: 4.163 MB / 0.7013 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5084/0.6742, allocations: 153.8 MB / 0.8516 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006194/0.6748, allocations: 23.81 kB / 0.8516 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.6753, allocations: 172.4 kB / 0.8517 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.6768, allocations: 497.3 kB / 0.8522 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.6786, allocations: 0.7999 MB / 0.853 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.6799, allocations: 1.188 MB / 0.8542 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007086/0.6806, allocations: 453.2 kB / 0.8546 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.6811, allocations: 442.5 kB / 0.855 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.6817, allocations: 454 kB / 0.8554 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.6818, allocations: 104 kB / 0.8555 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008865/0.6827, allocations: 0.4977 MB / 0.856 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.683, allocations: 275 kB / 0.8563 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.6834, allocations: 0.4952 MB / 0.8568 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.6852, allocations: 1.52 MB / 0.8583 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6852, allocations: 0 / 0.8583 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6852, allocations: 0 / 0.8583 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.6852, allocations: 0 / 0.8583 GB, free: 3.531 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.0023/0.6875, allocations: 1.379 MB / 0.8596 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6876, allocations: 9.109 kB / 0.8596 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.6878, allocations: 131 kB / 0.8597 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.6892, allocations: 228 kB / 0.86 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.6904, allocations: 0.7469 MB / 0.8607 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/0.6904, allocations: 58 kB / 0.8607 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.6906, allocations: 72 kB / 0.8608 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.6921, allocations: 0.8482 MB / 0.8616 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6921, allocations: 4 kB / 0.8616 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.6922, allocations: 39.98 kB / 0.8617 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.6922, allocations: 20 kB / 0.8617 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.694, allocations: 1.05 MB / 0.8627 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.6977, allocations: 2.349 MB / 0.865 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.6991, allocations: 0.6636 MB / 0.8657 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.6996, allocations: 243.7 kB / 0.8659 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.521e-05/0.6996, allocations: 33.78 kB / 0.8659 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.7004, allocations: 423.2 kB / 0.8663 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=71): time 1.904e-06/0.7004, allocations: 0 / 0.8663 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71): time 0.003139/0.7036, allocations: 1.069 MB / 0.8674 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.7037, allocations: 188.6 kB / 0.8676 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.7045, allocations: 0.6136 MB / 0.8682 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.7045, allocations: 37.7 kB / 0.8682 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.7049, allocations: 380.9 kB / 0.8686 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.7051, allocations: 253.8 kB / 0.8688 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.7053, allocations: 134.2 kB / 0.8689 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.7055, allocations: 386.5 kB / 0.8693 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.706, allocations: 209.2 kB / 0.8695 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.7066, allocations: 318.7 kB / 0.8698 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7076, allocations: 0.5199 MB / 0.8703 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7076, allocations: 0 / 0.8703 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001838/0.7095, allocations: 0.7162 MB / 0.871 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7095, allocations: 11.98 kB / 0.871 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7095, allocations: 0 / 0.871 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.7101, allocations: 84.81 kB / 0.8711 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.7107, allocations: 131.8 kB / 0.8712 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.7129, allocations: 1.63 MB / 0.8728 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.7135, allocations: 87.53 kB / 0.8729 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.7135, allocations: 23.98 kB / 0.8729 GB, free: 3.973 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 (75): * Single equations (assignments): 74 * 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.0004022/0.714, allocations: 245.7 kB / 0.8732 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.7141, allocations: 79.47 kB / 0.8732 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.7164, allocations: 0.9718 MB / 0.8742 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.7164, allocations: 12 kB / 0.8742 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.7164, allocations: 0 / 0.8742 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.7165, allocations: 3.984 kB / 0.8742 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.7175, allocations: 0.8373 MB / 0.875 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7175, allocations: 4 kB / 0.875 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.7181, allocations: 139.8 kB / 0.8752 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.7185, allocations: 72.78 kB / 0.8752 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.7186, allocations: 27.98 kB / 0.8752 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.7207, allocations: 1.65 MB / 0.8769 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7207, allocations: 2.188 kB / 0.8769 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.7228, allocations: 0.8346 MB / 0.8777 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.7232, allocations: 260.2 kB / 0.8779 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.7234, allocations: 16 kB / 0.8779 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.7239, allocations: 60 kB / 0.878 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.7241, allocations: 56.92 kB / 0.8781 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.7242, allocations: 27.98 kB / 0.8781 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00071/0.7249, allocations: 451 kB / 0.8785 GB, free: 14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7249, allocations: 1.875 kB / 0.8785 GB, free: 14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008658/0.7257, allocations: 291.1 kB / 0.8788 GB, free: 13.71 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.004345/0.7301, allocations: 1.875 MB / 0.8806 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.7319, allocations: 0.6925 MB / 0.8813 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7319, allocations: 0 / 0.8813 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009507/0.7329, allocations: 460.4 kB / 0.8817 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.7342, allocations: 288.3 kB / 0.882 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.7455, allocations: 5.824 MB / 0.8877 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/0.7463, allocations: 0.9992 MB / 0.8887 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008109/0.7471, allocations: 258.1 kB / 0.8889 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.7476, allocations: 359.3 kB / 0.8893 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.7476, allocations: 0 / 0.8893 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06042/0.8081, allocations: 20 MB / 0.9088 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.96, allocations: 14.88 kB / 0.9088 GB, free: 15.29 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.833823061009753] Failed to read output from testmodel.py, exit status != 0: 14.16923597099958 14.196921366 13.506698462 Calling exit ...