Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001282/0.001282, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001439/0.001439, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.969 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.824/0.824, allocations: 134 MB / 446.4 MB, free: 10.19 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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.002053/0.002053, allocations: 70.05 kB / 0.6185 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1468, allocations: 85.9 MB / 0.7024 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006376/0.1532, allocations: 4.171 MB / 0.7065 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4567/0.6099, allocations: 154 MB / 0.8569 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005668/0.6105, allocations: 19.81 kB / 0.8569 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.611, allocations: 177.3 kB / 0.8571 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.6123, allocations: 492.6 kB / 0.8575 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.6141, allocations: 0.8385 MB / 0.8583 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.6153, allocations: 1.192 MB / 0.8595 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.616, allocations: 437.8 kB / 0.8599 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.6166, allocations: 458.3 kB / 0.8604 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.6171, allocations: 458 kB / 0.8608 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.6172, allocations: 108 kB / 0.8609 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008137/0.6181, allocations: 0.5044 MB / 0.8614 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.6183, allocations: 271.1 kB / 0.8616 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.6187, allocations: 0.5052 MB / 0.8621 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.6204, allocations: 1.539 MB / 0.8636 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6204, allocations: 0 / 0.8636 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6204, allocations: 0 / 0.8636 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.6204, allocations: 0 / 0.8636 GB, free: 1.453 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002044/0.6225, allocations: 1.3 MB / 0.8649 GB, free: 120 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.6225, allocations: 12.03 kB / 0.8649 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.6227, allocations: 123.1 kB / 0.865 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.6242, allocations: 240 kB / 0.8653 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.6253, allocations: 0.6752 MB / 0.8659 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.6254, allocations: 58 kB / 0.866 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6255, allocations: 76 kB / 0.8661 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.6269, allocations: 0.8598 MB / 0.8669 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6269, allocations: 0 / 0.8669 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/0.627, allocations: 39.94 kB / 0.8669 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.627, allocations: 20 kB / 0.867 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.6287, allocations: 1.057 MB / 0.868 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.6323, allocations: 2.321 MB / 0.8703 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.6335, allocations: 0.6815 MB / 0.8709 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/0.634, allocations: 257.4 kB / 0.8712 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.136e-05/0.6341, allocations: 28.69 kB / 0.8712 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007102/0.6348, allocations: 427.6 kB / 0.8716 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 1.633e-06/0.6348, allocations: 0 / 0.8716 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.00277/0.6375, allocations: 1.002 MB / 0.8726 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.6376, allocations: 188.6 kB / 0.8728 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.6384, allocations: 0.6058 MB / 0.8734 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.6384, allocations: 37.7 kB / 0.8734 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.6387, allocations: 388.9 kB / 0.8738 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.6389, allocations: 249.8 kB / 0.874 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.6391, allocations: 130.2 kB / 0.8741 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6393, allocations: 386.8 kB / 0.8745 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.6397, allocations: 205.2 kB / 0.8747 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.6402, allocations: 322.7 kB / 0.875 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009381/0.6412, allocations: 0.5199 MB / 0.8755 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6412, allocations: 0 / 0.8755 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001664/0.6428, allocations: 0.7162 MB / 0.8762 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.6429, allocations: 8.094 kB / 0.8762 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6429, allocations: 0 / 0.8762 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.6435, allocations: 88.7 kB / 0.8763 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.644, allocations: 127.9 kB / 0.8764 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.6461, allocations: 1.547 MB / 0.8779 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.6466, allocations: 67.59 kB / 0.878 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.6467, allocations: 31.92 kB / 0.878 GB, free: 2.273 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: 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 (73): * Single equations (assignments): 72 * 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.0003268/0.647, allocations: 249.7 kB / 0.8783 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6471, allocations: 83.42 kB / 0.8783 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.6493, allocations: 0.9618 MB / 0.8793 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6493, allocations: 11.94 kB / 0.8793 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6493, allocations: 0 / 0.8793 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.6493, allocations: 11.98 kB / 0.8793 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.6523, allocations: 1.824 MB / 0.8811 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6523, allocations: 0 / 0.8811 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.6528, allocations: 135.8 kB / 0.8812 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.6533, allocations: 76.73 kB / 0.8813 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.6533, allocations: 19.98 kB / 0.8813 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.6552, allocations: 1.57 MB / 0.8828 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6552, allocations: 8.016 kB / 0.8828 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.657, allocations: 0.9034 MB / 0.8837 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.6573, allocations: 183.2 kB / 0.8839 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.6574, allocations: 23.92 kB / 0.8839 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.6579, allocations: 51.95 kB / 0.884 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.658, allocations: 60.88 kB / 0.884 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.6581, allocations: 27.98 kB / 0.8841 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005361/0.6586, allocations: 451 kB / 0.8845 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6586, allocations: 0 / 0.8845 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007208/0.6594, allocations: 287.2 kB / 0.8848 GB, free: 11.15 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 (81): * Single equations (assignments): 78 * 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.003771/0.6631, allocations: 1.939 MB / 0.8867 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.6645, allocations: 0.7003 MB / 0.8873 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6645, allocations: 4 kB / 0.8873 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008143/0.6653, allocations: 456.5 kB / 0.8878 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6664, allocations: 284.8 kB / 0.8881 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009924/0.6763, allocations: 5.902 MB / 0.8938 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.6769, allocations: 0.9953 MB / 0.8948 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006772/0.6776, allocations: 258 kB / 0.895 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.6781, allocations: 355.3 kB / 0.8954 GB, free: 356 kB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.6781, allocations: 0 / 0.8954 GB, free: 356 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05816/0.7363, allocations: 20.54 MB / 0.9154 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.73, allocations: 5.281 kB / 0.9154 GB, free: 11.96 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.255306559149176] Failed to read output from testmodel.py, exit status != 0: 13.951237580971792 13.967568381 13.344101019 Calling exit ...