Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001385/0.001385, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001518/0.001518, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.528/1.528, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.8683/0.8683, allocations: 133.9 MB / 442.8 MB, free: 11.32 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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.002304/0.002304, allocations: 69.78 kB / 0.6134 GB, free: 8.773 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1965, allocations: 85.85 MB / 0.6973 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006678/0.2032, allocations: 4.258 MB / 0.7014 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5547/0.7578, allocations: 154 MB / 0.8518 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.759, allocations: 23.81 kB / 0.8518 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.7599, allocations: 173.3 kB / 0.852 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.7622, allocations: 0.4977 MB / 0.8524 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.7645, allocations: 0.849 MB / 0.8533 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.7665, allocations: 1.242 MB / 0.8545 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008167/0.7673, allocations: 480.9 kB / 0.8549 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007022/0.768, allocations: 474.4 kB / 0.8554 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.7686, allocations: 485.8 kB / 0.8559 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.7687, allocations: 108.6 kB / 0.856 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.7698, allocations: 0.5199 MB / 0.8565 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.7701, allocations: 283.1 kB / 0.8567 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.7706, allocations: 0.5206 MB / 0.8572 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.7726, allocations: 1.597 MB / 0.8588 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7726, allocations: 1.688 kB / 0.8588 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7726, allocations: 0 / 0.8588 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.049e-05/0.7726, allocations: 0 / 0.8588 GB, free: 2.871 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002433/0.7751, allocations: 1.422 MB / 0.8602 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.7751, allocations: 13.11 kB / 0.8602 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.7753, allocations: 139.3 kB / 0.8603 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.7772, allocations: 252 kB / 0.8606 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.7785, allocations: 0.7546 MB / 0.8613 GB, free: 200 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.7785, allocations: 66 kB / 0.8614 GB, free: 132 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.7786, allocations: 80 kB / 0.8615 GB, free: 52 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.7803, allocations: 0.8988 MB / 0.8623 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.7803, allocations: 0 / 0.8623 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.7804, allocations: 36 kB / 0.8624 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.7804, allocations: 20 kB / 0.8624 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.7823, allocations: 1.097 MB / 0.8635 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.7865, allocations: 2.524 MB / 0.8659 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.7885, allocations: 0.8268 MB / 0.8667 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.7891, allocations: 269.3 kB / 0.867 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.244e-05/0.7892, allocations: 36.62 kB / 0.867 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008394/0.79, allocations: 443.2 kB / 0.8674 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.164e-06/0.79, allocations: 0 / 0.8674 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.00328/0.7933, allocations: 1.124 MB / 0.8685 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.7934, allocations: 192.5 kB / 0.8687 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.7943, allocations: 0.6293 MB / 0.8693 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.759e-05/0.7944, allocations: 37.7 kB / 0.8694 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.7948, allocations: 396.9 kB / 0.8698 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.795, allocations: 261.8 kB / 0.87 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.7953, allocations: 146.2 kB / 0.8701 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.7955, allocations: 382.7 kB / 0.8705 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.796, allocations: 225.2 kB / 0.8707 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.7966, allocations: 340.9 kB / 0.871 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.7977, allocations: 0.555 MB / 0.8716 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7977, allocations: 0 / 0.8716 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001983/0.7997, allocations: 0.763 MB / 0.8723 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.7997, allocations: 4 kB / 0.8723 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7997, allocations: 0 / 0.8723 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/0.8004, allocations: 76.84 kB / 0.8724 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.801, allocations: 154.3 kB / 0.8726 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.8033, allocations: 1.623 MB / 0.8741 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.8039, allocations: 83.5 kB / 0.8742 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.804, allocations: 31.97 kB / 0.8743 GB, free: 2.488 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: 7 (solAzi.outsidePolarCircle,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 (80): * Single equations (assignments): 79 * 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.0004331/0.8044, allocations: 260.4 kB / 0.8745 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.8046, allocations: 87.38 kB / 0.8746 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.8072, allocations: 1.053 MB / 0.8756 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.8072, allocations: 8 kB / 0.8756 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8072, allocations: 7.734 kB / 0.8756 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.8072, allocations: 11.92 kB / 0.8756 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.8108, allocations: 1.955 MB / 0.8776 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8108, allocations: 4 kB / 0.8776 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.8114, allocations: 155.8 kB / 0.8777 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.8119, allocations: 72.78 kB / 0.8778 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.812, allocations: 27.97 kB / 0.8778 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.8143, allocations: 1.654 MB / 0.8794 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8143, allocations: 0 / 0.8794 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.8165, allocations: 0.9633 MB / 0.8804 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.8169, allocations: 280.1 kB / 0.8806 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.817, allocations: 24 kB / 0.8806 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/0.8177, allocations: 53.2 kB / 0.8807 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.8178, allocations: 64.91 kB / 0.8808 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.8179, allocations: 31.98 kB / 0.8808 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006579/0.8186, allocations: 459 kB / 0.8812 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8186, allocations: 4 kB / 0.8812 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009032/0.8195, allocations: 311.1 kB / 0.8815 GB, free: 10.79 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 (93): * Single equations (assignments): 90 * 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.004448/0.8239, allocations: 2.035 MB / 0.8835 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.8258, allocations: 0.7355 MB / 0.8842 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.8258, allocations: 0 / 0.8842 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.8269, allocations: 492.3 kB / 0.8847 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.8283, allocations: 290 kB / 0.885 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.8399, allocations: 6.119 MB / 0.891 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/0.8406, allocations: 1.023 MB / 0.892 GB, free: 172 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008649/0.8414, allocations: 269.2 kB / 0.8922 GB, free: 15.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/0.842, allocations: 375.3 kB / 0.8926 GB, free: 15.54 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.842, allocations: 0 / 0.8926 GB, free: 15.54 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06034/0.9024, allocations: 20.98 MB / 0.9131 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.17, allocations: 12.58 kB / 0.9131 GB, free: 10.79 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.200799090001965] Failed to read output from testmodel.py, exit status != 0: 14.37502186599886 14.389979447 13.61416195 Calling exit ...