Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00128/0.00128, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001045/0.001045, allocations: 217.8 kB / 22.26 MB, free: 3.695 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.951/0.951, allocations: 230.6 MB / 256 MB, free: 9.805 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.8341/0.8341, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.001028/0.001028, allocations: 61.28 kB / 0.7182 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.5003, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005062/0.5053, allocations: 4.966 MB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.145/0.6504, allocations: 154.1 MB / 0.9732 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008497/0.6512, allocations: 23.81 kB / 0.9732 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006644/0.6519, allocations: 198.2 kB / 0.9734 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.6536, allocations: 0.5504 MB / 0.974 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.6554, allocations: 0.882 MB / 0.9748 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.6567, allocations: 1.398 MB / 0.9762 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005811/0.6573, allocations: 413.9 kB / 0.9766 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.6579, allocations: 0.4983 MB / 0.9771 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.6584, allocations: 0.5096 MB / 0.9776 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.6585, allocations: 120 kB / 0.9777 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.6597, allocations: 0.519 MB / 0.9782 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.6599, allocations: 287.1 kB / 0.9785 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.6603, allocations: 0.5674 MB / 0.979 GB, free: 424 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.6621, allocations: 1.679 MB / 0.9807 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6621, allocations: 4 kB / 0.9807 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6621, allocations: 0 / 0.9807 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.6621, allocations: 0 / 0.9807 GB, free: 14.73 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001976/0.6641, allocations: 1.411 MB / 0.982 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.6641, allocations: 12.03 kB / 0.9821 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.6643, allocations: 135.4 kB / 0.9822 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/0.6651, allocations: 232 kB / 0.9824 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.6662, allocations: 0.718 MB / 0.9831 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.6663, allocations: 65.94 kB / 0.9832 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.6663, allocations: 80 kB / 0.9832 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.6677, allocations: 0.9145 MB / 0.9841 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6677, allocations: 0 / 0.9841 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/0.6678, allocations: 32 kB / 0.9842 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.6678, allocations: 20 kB / 0.9842 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.6695, allocations: 1.1 MB / 0.9853 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.6724, allocations: 2.697 MB / 0.9879 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.6734, allocations: 0.7525 MB / 0.9886 GB, free: 6.332 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.6738, allocations: 274.7 kB / 0.9889 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.361e-05/0.6739, allocations: 36.67 kB / 0.9889 GB, free: 6.023 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006016/0.6745, allocations: 487.1 kB / 0.9894 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=80): time 2.515e-06/0.6745, allocations: 4 kB / 0.9894 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80): time 0.002069/0.6765, allocations: 1.123 MB / 0.9905 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.6766, allocations: 192.6 kB / 0.9907 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.6774, allocations: 0.649 MB / 0.9913 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.6775, allocations: 45.7 kB / 0.9914 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.6778, allocations: 413 kB / 0.9918 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.6779, allocations: 269.7 kB / 0.992 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/0.6785, allocations: 142.6 kB / 0.9921 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6787, allocations: 394.7 kB / 0.9925 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.6791, allocations: 249.9 kB / 0.9928 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.6795, allocations: 354.5 kB / 0.9931 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.6802, allocations: 0.5838 MB / 0.9937 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6802, allocations: 0 / 0.9937 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001232/0.6815, allocations: 0.814 MB / 0.9945 GB, free: 208 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6815, allocations: 4 kB / 0.9945 GB, free: 204 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6815, allocations: 11.97 kB / 0.9945 GB, free: 192 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.6818, allocations: 88.77 kB / 0.9946 GB, free: 100 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.6822, allocations: 147.8 kB / 0.9947 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.6835, allocations: 1.537 MB / 0.9962 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.6839, allocations: 91.52 kB / 0.9963 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.684, allocations: 27.98 kB / 0.9963 GB, free: 14.18 MB / 0.7761 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 (87): * Single equations (assignments): 86 * 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.0003255/0.6843, allocations: 273.7 kB / 0.9966 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.6844, allocations: 91.44 kB / 0.9967 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.6859, allocations: 1.058 MB / 0.9977 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6859, allocations: 12 kB / 0.9977 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6859, allocations: 3.938 kB / 0.9977 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.6859, allocations: 3.984 kB / 0.9977 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.6867, allocations: 0.8794 MB / 0.9986 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6867, allocations: 0 / 0.9986 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.687, allocations: 143.8 kB / 0.9987 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002231/0.6873, allocations: 72.78 kB / 0.9988 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.6873, allocations: 23.98 kB / 0.9988 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.6887, allocations: 1.562 MB / 1 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6887, allocations: 4.062 kB / 1 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.6899, allocations: 0.9322 MB / 1.001 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.6902, allocations: 199.1 kB / 1.001 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.6903, allocations: 19.98 kB / 1.001 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.6906, allocations: 67.88 kB / 1.002 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6907, allocations: 72.8 kB / 1.002 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.6907, allocations: 43.97 kB / 1.002 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004164/0.6911, allocations: 475 kB / 1.002 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.6911, allocations: 0 / 1.002 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006036/0.6917, allocations: 319.2 kB / 1.002 GB, free: 7.746 MB / 0.7761 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 (91): * Single equations (assignments): 85 * 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.002242/0.694, allocations: 1.985 MB / 1.004 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.695, allocations: 0.7687 MB / 1.005 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.695, allocations: 4 kB / 1.005 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.6956, allocations: 496.4 kB / 1.006 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.6962, allocations: 302.9 kB / 1.006 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.7031, allocations: 6.234 MB / 1.012 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.7035, allocations: 1.023 MB / 1.013 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005404/0.7041, allocations: 262.8 kB / 1.013 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.7047, allocations: 391.3 kB / 1.014 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/0.7047, allocations: 0 / 1.014 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.7497, allocations: 22.39 MB / 1.035 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.079/9.828, allocations: 7.922 kB / 1.035 GB, free: 6.078 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.006433830130845] Failed to read output from testmodel.py, exit status != 0: 9.980705057969317 9.996503455 9.331244516 Calling exit ...