Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009441/0.0009441, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001113/0.001113, allocations: 214.2 kB / 22.25 MB, free: 3.578 MB / 13.93 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 0.9464/0.9464, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7715/0.7715, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.00128/0.00128, allocations: 63.09 kB / 0.7181 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4858, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005961/0.4917, allocations: 5.364 MB / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1326/0.6244, allocations: 132.9 MB / 0.9528 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008748/0.6252, allocations: 31.69 kB / 0.9529 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.6258, allocations: 237.8 kB / 0.9531 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.6276, allocations: 0.6504 MB / 0.9537 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.6295, allocations: 0.8992 MB / 0.9546 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.6307, allocations: 1.665 MB / 0.9562 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007309/0.6315, allocations: 0.5815 MB / 0.9568 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006866/0.6322, allocations: 0.6384 MB / 0.9574 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.6327, allocations: 0.5869 MB / 0.958 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.6329, allocations: 164 kB / 0.9581 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008436/0.6337, allocations: 0.5269 MB / 0.9587 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.634, allocations: 378.8 kB / 0.959 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.6344, allocations: 0.6027 MB / 0.9596 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.6361, allocations: 2.107 MB / 0.9617 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6361, allocations: 0 / 0.9617 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6361, allocations: 0 / 0.9617 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.6361, allocations: 0 / 0.9617 GB, free: 1.77 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.001926/0.638, allocations: 1.717 MB / 0.9633 GB, free: 12 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6381, allocations: 8.031 kB / 0.9634 GB, free: 4 kB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.6382, allocations: 185.8 kB / 0.9635 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009005/0.6391, allocations: 271.8 kB / 0.9638 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.6401, allocations: 0.8155 MB / 0.9646 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.6402, allocations: 94.39 kB / 0.9647 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.6402, allocations: 116 kB / 0.9648 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.6416, allocations: 1.457 MB / 0.9662 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.6416, allocations: 0 / 0.9662 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.6417, allocations: 51.98 kB / 0.9663 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.6417, allocations: 32 kB / 0.9663 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.6431, allocations: 1.242 MB / 0.9675 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.646, allocations: 2.772 MB / 0.9702 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.647, allocations: 0.8177 MB / 0.971 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.6474, allocations: 298.7 kB / 0.9713 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.6474, allocations: 20.64 kB / 0.9713 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000619/0.648, allocations: 0.6218 MB / 0.9719 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 2.575e-06/0.648, allocations: 0 / 0.9719 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001962/0.65, allocations: 1.215 MB / 0.9731 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.6501, allocations: 192.9 kB / 0.9733 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/0.6508, allocations: 0.7627 MB / 0.974 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.6509, allocations: 49.69 kB / 0.9741 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.6511, allocations: 0.532 MB / 0.9746 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.6513, allocations: 297.5 kB / 0.9749 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.6514, allocations: 154.6 kB / 0.975 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.6515, allocations: 338 kB / 0.9754 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.6519, allocations: 273.9 kB / 0.9756 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.6523, allocations: 0.5068 MB / 0.9761 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.653, allocations: 0.632 MB / 0.9767 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6531, allocations: 4 kB / 0.9767 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00119/0.6542, allocations: 0.8727 MB / 0.9776 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.6543, allocations: 15.94 kB / 0.9776 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6543, allocations: 3.938 kB / 0.9776 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/0.6546, allocations: 84.77 kB / 0.9777 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.655, allocations: 171.7 kB / 0.9778 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.6564, allocations: 1.513 MB / 0.9793 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.6569, allocations: 103.5 kB / 0.9794 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.6569, allocations: 31.98 kB / 0.9795 GB, free: 14.93 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003861/0.6573, allocations: 305.5 kB / 0.9797 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.6574, allocations: 103.3 kB / 0.9798 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.659, allocations: 1.13 MB / 0.9809 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.659, allocations: 8 kB / 0.981 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.659, allocations: 0 / 0.981 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.659, allocations: 3.984 kB / 0.981 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.6599, allocations: 0.8951 MB / 0.9818 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6599, allocations: 0 / 0.9818 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.6602, allocations: 155.8 kB / 0.982 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002417/0.6605, allocations: 72.78 kB / 0.9821 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.6605, allocations: 27.92 kB / 0.9821 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.6616, allocations: 1.551 MB / 0.9836 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6616, allocations: 7.922 kB / 0.9836 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.6629, allocations: 0.983 MB / 0.9846 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.6632, allocations: 223 kB / 0.9848 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.6633, allocations: 16 kB / 0.9848 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.6636, allocations: 71.86 kB / 0.9849 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6637, allocations: 80.8 kB / 0.9849 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.6637, allocations: 39.97 kB / 0.985 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004649/0.6642, allocations: 0.5303 MB / 0.9855 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.6642, allocations: 0 / 0.9855 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007026/0.6649, allocations: 390.8 kB / 0.9859 GB, free: 8.148 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002349/0.6673, allocations: 2.083 MB / 0.9879 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.6685, allocations: 0.8234 MB / 0.9887 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6685, allocations: 0 / 0.9887 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005895/0.6691, allocations: 0.5198 MB / 0.9892 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.67, allocations: 336.5 kB / 0.9895 GB, free: 4.613 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/0.6781, allocations: 7.13 MB / 0.9965 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.6785, allocations: 0.5262 MB / 0.997 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005827/0.6791, allocations: 283.3 kB / 0.9973 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.6795, allocations: 495.2 kB / 0.9977 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of SimCode: time 1.172e-06/0.6795, allocations: 0 / 0.9977 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.7216, allocations: 26.21 MB / 1.023 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/9.113, allocations: 6.188 kB / 1.023 GB, free: 2.043 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.216311258729547] Failed to read output from testmodel.py, exit status != 0: 9.268839202821255 9.281969541 8.643874991 Calling exit ...