Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001236/0.001236, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001353/0.001353, allocations: 221.3 kB / 23.03 MB, free: 4.941 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8124/0.8124, allocations: 134 MB / 447.2 MB, free: 9.941 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.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="cs",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.002136/0.002136, allocations: 63.38 kB / 0.6192 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2001, allocations: 85.91 MB / 0.7031 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006717/0.2068, allocations: 3.822 MB / 0.7069 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5864/0.7932, allocations: 132.5 MB / 0.8362 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008916/0.7941, allocations: 22.34 kB / 0.8362 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000805/0.7949, allocations: 174.8 kB / 0.8364 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.797, allocations: 0.4989 MB / 0.8369 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.7994, allocations: 0.8244 MB / 0.8377 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001734/0.8011, allocations: 1.209 MB / 0.8389 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.8021, allocations: 457.3 kB / 0.8393 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008786/0.803, allocations: 462.8 kB / 0.8397 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000798/0.8038, allocations: 466.7 kB / 0.8402 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.8041, allocations: 107.3 kB / 0.8403 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.8054, allocations: 493.3 kB / 0.8408 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.8059, allocations: 279.1 kB / 0.841 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007867/0.8067, allocations: 413.8 kB / 0.8414 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.8091, allocations: 1.547 MB / 0.8429 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8091, allocations: 3.938 kB / 0.8429 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8091, allocations: 0 / 0.8429 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.8091, allocations: 0 / 0.8429 GB, free: 4.102 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00228/0.8114, allocations: 1.312 MB / 0.8442 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.8114, allocations: 19.97 kB / 0.8442 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.275e-05/0.8115, allocations: 22.19 kB / 0.8443 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.8116, allocations: 131.7 kB / 0.8444 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.8134, allocations: 232.1 kB / 0.8446 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.8146, allocations: 0.6868 MB / 0.8453 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.8146, allocations: 58 kB / 0.8453 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.8147, allocations: 76 kB / 0.8454 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.8164, allocations: 1.123 MB / 0.8465 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.8164, allocations: 0 / 0.8465 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.8165, allocations: 32 kB / 0.8465 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.8165, allocations: 20 kB / 0.8466 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.8182, allocations: 1.073 MB / 0.8476 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.8219, allocations: 2.114 MB / 0.8497 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.8232, allocations: 0.6799 MB / 0.8503 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.8237, allocations: 262.7 kB / 0.8506 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.659e-05/0.8237, allocations: 20.62 kB / 0.8506 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008273/0.8246, allocations: 0.5254 MB / 0.8511 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/0.8246, allocations: 0 / 0.8511 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002897/0.8275, allocations: 1.015 MB / 0.8521 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.8276, allocations: 192.6 kB / 0.8523 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/0.8284, allocations: 0.6097 MB / 0.8529 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.8284, allocations: 37.7 kB / 0.8529 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.8288, allocations: 392.9 kB / 0.8533 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.829, allocations: 253.8 kB / 0.8535 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.8292, allocations: 134.3 kB / 0.8537 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.8294, allocations: 378.8 kB / 0.854 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.8298, allocations: 213.2 kB / 0.8542 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.8304, allocations: 456.1 kB / 0.8547 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009935/0.8314, allocations: 0.5441 MB / 0.8552 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8314, allocations: 0 / 0.8552 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001765/0.8332, allocations: 0.7318 MB / 0.8559 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8332, allocations: 4 kB / 0.8559 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.8332, allocations: 4 kB / 0.8559 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.8339, allocations: 84.89 kB / 0.856 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.8344, allocations: 135.8 kB / 0.8561 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.8367, allocations: 1.525 MB / 0.8576 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.8373, allocations: 79.67 kB / 0.8577 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.8374, allocations: 27.98 kB / 0.8577 GB, free: 4.398 MB / 0.6231 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 (77): * Single equations (assignments): 76 * 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.0004521/0.8378, allocations: 254.4 kB / 0.858 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.838, allocations: 83.42 kB / 0.858 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.8403, allocations: 1.008 MB / 0.859 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.8403, allocations: 8 kB / 0.859 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.8403, allocations: 0 / 0.859 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.8404, allocations: 7.734 kB / 0.859 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.8437, allocations: 1.748 MB / 0.8607 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.8437, allocations: 3.984 kB / 0.8608 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.8442, allocations: 143.8 kB / 0.8609 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.8447, allocations: 72.73 kB / 0.861 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.8447, allocations: 27.98 kB / 0.861 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.8467, allocations: 1.547 MB / 0.8625 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8467, allocations: 3.938 kB / 0.8625 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.8485, allocations: 0.9243 MB / 0.8634 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.8489, allocations: 187.1 kB / 0.8636 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.849, allocations: 19.94 kB / 0.8636 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.8496, allocations: 62.12 kB / 0.8637 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.8497, allocations: 64.88 kB / 0.8637 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.8498, allocations: 27.98 kB / 0.8637 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005667/0.8503, allocations: 447 kB / 0.8642 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8503, allocations: 0 / 0.8642 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008355/0.8512, allocations: 291.2 kB / 0.8645 GB, free: 13.29 MB / 0.6387 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 (87): * Single equations (assignments): 84 * 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.004051/0.8552, allocations: 2.004 MB / 0.8664 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.8568, allocations: 0.7081 MB / 0.8671 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8568, allocations: 4 kB / 0.8671 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008388/0.8576, allocations: 468.5 kB / 0.8675 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.8588, allocations: 285.9 kB / 0.8678 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.8692, allocations: 5.976 MB / 0.8737 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.8697, allocations: 427 kB / 0.8741 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008392/0.8706, allocations: 262.1 kB / 0.8743 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.8711, allocations: 363.3 kB / 0.8747 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/0.8711, allocations: 0 / 0.8747 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08353/0.9546, allocations: 21.49 MB / 0.8956 GB, free: 13.64 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.68, allocations: 16.48 kB / 0.8957 GB, free: 13.63 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.361153197009116] Failed to read output from testmodel.py, exit status != 0: 14.959761628997512 14.985379394 14.171140366 Calling exit ...