Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.00181/0.00181, allocations: 107 kB / 16.45 MB, free: 6.508 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.002063/0.002063, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.8418/0.8418, allocations: 134 MB / 442.8 MB, free: 11.3 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.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001951/0.001951, allocations: 67.39 kB / 0.6134 GB, free: 8.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1579, allocations: 85.85 MB / 0.6972 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007611/0.1655, allocations: 4.977 MB / 0.7021 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5125/0.678, allocations: 154.2 MB / 0.8527 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.6789, allocations: 19.88 kB / 0.8527 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.6796, allocations: 196.2 kB / 0.8529 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.6813, allocations: 0.5909 MB / 0.8535 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.6836, allocations: 0.9425 MB / 0.8544 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.6856, allocations: 1.576 MB / 0.8559 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.687, allocations: 0.829 MB / 0.8567 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.6883, allocations: 0.7201 MB / 0.8574 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.6894, allocations: 0.7505 MB / 0.8582 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.6896, allocations: 192 kB / 0.8584 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.6909, allocations: 0.5855 MB / 0.8589 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004218/0.6913, allocations: 450.5 kB / 0.8594 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008333/0.6922, allocations: 0.8123 MB / 0.8601 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.6956, allocations: 2.364 MB / 0.8625 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6956, allocations: 0 / 0.8625 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6956, allocations: 0.6562 kB / 0.8625 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.6956, allocations: 0 / 0.8625 GB, free: 15.08 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003422/0.699, allocations: 1.901 MB / 0.8643 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.699, allocations: 9.109 kB / 0.8643 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002792/0.6993, allocations: 219.6 kB / 0.8645 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.7024, allocations: 387.6 kB / 0.8649 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.7039, allocations: 0.9431 MB / 0.8658 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.7041, allocations: 138 kB / 0.866 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.7042, allocations: 144 kB / 0.8661 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.7068, allocations: 1.461 MB / 0.8675 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.7068, allocations: 0 / 0.8675 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.707, allocations: 64 kB / 0.8676 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.707, allocations: 39.98 kB / 0.8676 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.7096, allocations: 1.486 MB / 0.8691 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006471/0.7161, allocations: 3.918 MB / 0.8729 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.7177, allocations: 0.845 MB / 0.8737 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.7184, allocations: 339.7 kB / 0.874 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/0.7185, allocations: 45.64 kB / 0.8741 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.7195, allocations: 0.5463 MB / 0.8746 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=93): time 2.324e-06/0.7195, allocations: 0 / 0.8746 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93): time 0.003649/0.7231, allocations: 1.373 MB / 0.876 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.7233, allocations: 192.9 kB / 0.8761 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7244, allocations: 0.7865 MB / 0.8769 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.7245, allocations: 51.39 kB / 0.877 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/0.725, allocations: 0.6022 MB / 0.8776 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.7253, allocations: 325.2 kB / 0.8779 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.7256, allocations: 178.5 kB / 0.878 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7258, allocations: 337.9 kB / 0.8784 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.7264, allocations: 305.8 kB / 0.8786 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/0.7272, allocations: 431.4 kB / 0.8791 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.7286, allocations: 0.7422 MB / 0.8798 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7286, allocations: 3.938 kB / 0.8798 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002376/0.731, allocations: 0.978 MB / 0.8807 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.731, allocations: 8 kB / 0.8808 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.731, allocations: 2.969 kB / 0.8808 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.7317, allocations: 84.78 kB / 0.8808 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000845/0.7325, allocations: 191.7 kB / 0.881 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.7349, allocations: 1.646 MB / 0.8826 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.7356, allocations: 102.3 kB / 0.8827 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/0.7357, allocations: 35.97 kB / 0.8828 GB, free: 9.715 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0005608/0.7363, allocations: 336.5 kB / 0.8831 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.7365, allocations: 107.3 kB / 0.8832 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.7395, allocations: 1.281 MB / 0.8844 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.7395, allocations: 11.94 kB / 0.8844 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.7395, allocations: 4 kB / 0.8844 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7395, allocations: 7.984 kB / 0.8845 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.7438, allocations: 2.512 MB / 0.8869 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.7438, allocations: 4 kB / 0.8869 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/0.7446, allocations: 179.7 kB / 0.8871 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.745, allocations: 76.78 kB / 0.8872 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.7451, allocations: 31.97 kB / 0.8872 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.7472, allocations: 1.666 MB / 0.8888 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7472, allocations: 64 / 0.8888 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.7496, allocations: 1.123 MB / 0.8899 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.7501, allocations: 328 kB / 0.8902 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.7502, allocations: 23.95 kB / 0.8902 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007173/0.7509, allocations: 59.94 kB / 0.8903 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.7511, allocations: 72.89 kB / 0.8904 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.191e-05/0.7512, allocations: 43.97 kB / 0.8904 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008397/0.752, allocations: 0.581 MB / 0.891 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.752, allocations: 4 kB / 0.891 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001066/0.7531, allocations: 398.6 kB / 0.8914 GB, free: 0.6406 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 (107): * Single equations (assignments): 104 * 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.004647/0.7577, allocations: 2.183 MB / 0.8935 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.7599, allocations: 0.8937 MB / 0.8944 GB, free: 13.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.76, allocations: 4 kB / 0.8944 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.761, allocations: 0.5434 MB / 0.8949 GB, free: 13.18 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.7625, allocations: 308.3 kB / 0.8952 GB, free: 12.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.778, allocations: 8.023 MB / 0.903 GB, free: 4.723 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/0.779, allocations: 1.165 MB / 0.9042 GB, free: 3.531 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001051/0.78, allocations: 297.2 kB / 0.9045 GB, free: 3.238 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008412/0.7809, allocations: 0.5617 MB / 0.905 GB, free: 2.676 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/0.7809, allocations: 0 / 0.905 GB, free: 2.676 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06604/0.8469, allocations: 26.06 MB / 0.9305 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.73, allocations: 4.062 kB / 0.9305 GB, free: 8.855 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_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_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.56504963898624] Failed to read output from testmodel.py, exit status != 0: 14.944225876999553 14.966576168 14.266805341 Calling exit ...