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.001924/0.001924, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.002527/0.002527, allocations: 218.4 kB / 22.26 MB, free: 5.219 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 8.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.8558/0.8558, allocations: 134 MB / 446.4 MB, free: 10.16 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.00202/0.00202, allocations: 66.08 kB / 0.6185 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 85.91 MB / 0.7024 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006756/0.1786, allocations: 4.603 MB / 0.7069 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5782/0.7568, allocations: 154.1 MB / 0.8574 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007414/0.7576, allocations: 23.81 kB / 0.8575 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006078/0.7582, allocations: 196.9 kB / 0.8577 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.7598, allocations: 0.5167 MB / 0.8582 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.7618, allocations: 0.8729 MB / 0.859 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001559/0.7634, allocations: 1.336 MB / 0.8603 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.7644, allocations: 0.6632 MB / 0.861 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007321/0.7651, allocations: 0.5643 MB / 0.8615 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006751/0.7658, allocations: 0.5872 MB / 0.8621 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.766, allocations: 144 kB / 0.8622 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.767, allocations: 0.5405 MB / 0.8628 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.7674, allocations: 346.9 kB / 0.8631 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006074/0.768, allocations: 0.6605 MB / 0.8637 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.7704, allocations: 1.889 MB / 0.8656 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7704, allocations: 3.938 kB / 0.8656 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7704, allocations: 0 / 0.8656 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.475e-05/0.7704, allocations: 0 / 0.8656 GB, free: 15.39 MB / 0.6387 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.002733/0.7732, allocations: 1.588 MB / 0.8671 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7732, allocations: 15.97 kB / 0.8671 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/0.7734, allocations: 169.5 kB / 0.8673 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.775, allocations: 263.8 kB / 0.8676 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.7764, allocations: 0.7813 MB / 0.8683 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/0.7765, allocations: 86.3 kB / 0.8684 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7766, allocations: 108 kB / 0.8685 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.7785, allocations: 1.138 MB / 0.8696 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.7785, allocations: 0 / 0.8696 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/0.7786, allocations: 51.98 kB / 0.8697 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.7786, allocations: 28 kB / 0.8697 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.7807, allocations: 1.234 MB / 0.8709 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004657/0.7853, allocations: 2.931 MB / 0.8738 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.7867, allocations: 0.7294 MB / 0.8745 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.7872, allocations: 262.7 kB / 0.8747 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.034e-05/0.7873, allocations: 36.67 kB / 0.8748 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008122/0.7881, allocations: 454.3 kB / 0.8752 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=78): time 2.324e-06/0.7881, allocations: 0 / 0.8752 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78): time 0.002986/0.7911, allocations: 1.069 MB / 0.8762 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.7912, allocations: 196.5 kB / 0.8764 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009939/0.7922, allocations: 0.7196 MB / 0.8771 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.7923, allocations: 37.7 kB / 0.8772 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.7927, allocations: 0.5123 MB / 0.8777 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.793, allocations: 265.7 kB / 0.8779 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.7932, allocations: 142.6 kB / 0.8781 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7933, allocations: 338 kB / 0.8784 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.7938, allocations: 237.9 kB / 0.8786 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.7944, allocations: 346.6 kB / 0.8789 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.7956, allocations: 0.5721 MB / 0.8795 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.7956, allocations: 3.938 kB / 0.8795 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001993/0.7976, allocations: 0.7984 MB / 0.8803 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.7976, allocations: 4 kB / 0.8803 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7976, allocations: 4.094 kB / 0.8803 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.7983, allocations: 84.7 kB / 0.8804 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.7989, allocations: 151.8 kB / 0.8805 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.8013, allocations: 1.52 MB / 0.882 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.8019, allocations: 87.53 kB / 0.8821 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.8019, allocations: 31.98 kB / 0.8821 GB, free: 13.96 MB / 0.6544 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.0004776/0.8024, allocations: 284.2 kB / 0.8824 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.8026, allocations: 95.33 kB / 0.8825 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.8049, allocations: 1.026 MB / 0.8835 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.8049, allocations: 12.05 kB / 0.8835 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.8049, allocations: 3.938 kB / 0.8835 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.8049, allocations: 3.984 kB / 0.8835 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.8061, allocations: 0.9652 MB / 0.8844 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8061, allocations: 4 kB / 0.8844 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.8067, allocations: 147.8 kB / 0.8846 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/0.8072, allocations: 68.78 kB / 0.8846 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.8072, allocations: 27.98 kB / 0.8847 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.8096, allocations: 1.555 MB / 0.8862 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8096, allocations: 0 / 0.8862 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.8116, allocations: 0.897 MB / 0.8871 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.812, allocations: 215 kB / 0.8873 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.8122, allocations: 16 kB / 0.8873 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.8127, allocations: 51.89 kB / 0.8873 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.8128, allocations: 64.88 kB / 0.8874 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.8129, allocations: 31.97 kB / 0.8874 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007741/0.8137, allocations: 0.5107 MB / 0.8879 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8137, allocations: 0 / 0.8879 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008555/0.8145, allocations: 334.9 kB / 0.8882 GB, free: 7.473 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 (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.004095/0.8186, allocations: 1.942 MB / 0.8901 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.8203, allocations: 0.7491 MB / 0.8909 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.8204, allocations: 4 kB / 0.8909 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000919/0.8213, allocations: 484.4 kB / 0.8913 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.8226, allocations: 300.2 kB / 0.8916 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.8349, allocations: 6.776 MB / 0.8982 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/0.8357, allocations: 1.086 MB / 0.8993 GB, free: 12.15 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008352/0.8366, allocations: 267 kB / 0.8996 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.8372, allocations: 463.2 kB / 0.9 GB, free: 11.43 MB / 0.67 GB Notification: Performance of SimCode: time 1.213e-06/0.8372, allocations: 0 / 0.9 GB, free: 11.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06718/0.9044, allocations: 22.82 MB / 0.9223 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.79, allocations: 0 / 0.9223 GB, free: 4.781 MB / 0.6856 GB " [Timeout remaining time 645] (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: 18.659293699995033] Failed to read output from testmodel.py, exit status != 0: 15.006720710996888 15.022677572 14.249051408 Calling exit ...