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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.8059/0.8059, allocations: 134 MB / 436.6 MB, free: 13.61 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.89 kB / 0.6051 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.354, allocations: 84.68 MB / 0.6878 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005103/0.3591, allocations: 4.088 MB / 0.6918 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.5286, allocations: 150.9 MB / 0.8391 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007626/0.5294, allocations: 15.94 kB / 0.8392 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006692/0.5301, allocations: 162.5 kB / 0.8393 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.5319, allocations: 480.1 kB / 0.8398 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.5341, allocations: 0.7859 MB / 0.8405 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00165/0.5358, allocations: 1.176 MB / 0.8417 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.5366, allocations: 456.6 kB / 0.8421 GB, free: 8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006932/0.5373, allocations: 430.5 kB / 0.8425 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.538, allocations: 442 kB / 0.843 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.5382, allocations: 112 kB / 0.8431 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/0.5391, allocations: 479.5 kB / 0.8435 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.5394, allocations: 267.1 kB / 0.8438 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.54, allocations: 0.4896 MB / 0.8443 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.5419, allocations: 1.497 MB / 0.8457 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.542, allocations: 3.984 kB / 0.8457 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.724e-06/0.542, allocations: 0 / 0.8457 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.542, allocations: 0 / 0.8457 GB, free: 4.309 MB / 0.6544 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.002193/0.5442, allocations: 1.348 MB / 0.847 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5442, allocations: 8.031 kB / 0.847 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.5444, allocations: 135 kB / 0.8472 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.5452, allocations: 172.1 kB / 0.8473 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.5464, allocations: 0.7388 MB / 0.8481 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.5464, allocations: 54 kB / 0.8481 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5465, allocations: 76 kB / 0.8482 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.5479, allocations: 0.8598 MB / 0.849 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5479, allocations: 0 / 0.849 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.548, allocations: 36 kB / 0.8491 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.548, allocations: 20 kB / 0.8491 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.5496, allocations: 1.061 MB / 0.8501 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.5532, allocations: 2.36 MB / 0.8524 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.5545, allocations: 0.7577 MB / 0.8532 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.555, allocations: 258 kB / 0.8534 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.614e-05/0.555, allocations: 24.59 kB / 0.8534 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007282/0.5557, allocations: 421.8 kB / 0.8538 GB, free: 11.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 1.843e-06/0.5558, allocations: 4 kB / 0.8538 GB, free: 11.74 MB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.002845/0.5586, allocations: 1.067 MB / 0.8549 GB, free: 10.65 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.5587, allocations: 192.6 kB / 0.8551 GB, free: 10.42 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.5594, allocations: 0.5861 MB / 0.8556 GB, free: 9.828 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.5595, allocations: 37.7 kB / 0.8557 GB, free: 9.785 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.5598, allocations: 388.8 kB / 0.856 GB, free: 9.398 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.5599, allocations: 234 kB / 0.8563 GB, free: 9.168 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.5601, allocations: 134.2 kB / 0.8564 GB, free: 9.031 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.5603, allocations: 378.8 kB / 0.8567 GB, free: 8.652 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.5607, allocations: 217.1 kB / 0.857 GB, free: 8.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.5613, allocations: 314.8 kB / 0.8573 GB, free: 8.105 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009569/0.5622, allocations: 0.5234 MB / 0.8578 GB, free: 7.574 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5622, allocations: 7.875 kB / 0.8578 GB, free: 7.566 MB / 0.67 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001679/0.5639, allocations: 0.7124 MB / 0.8585 GB, free: 6.844 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.5639, allocations: 4 kB / 0.8585 GB, free: 6.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.5639, allocations: 7.938 kB / 0.8585 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.5645, allocations: 80.86 kB / 0.8586 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.5651, allocations: 131.8 kB / 0.8587 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.5673, allocations: 1.651 MB / 0.8603 GB, free: 4.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.5678, allocations: 83.11 kB / 0.8604 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.5679, allocations: 23.98 kB / 0.8604 GB, free: 4.723 MB / 0.67 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.0003981/0.5683, allocations: 249.7 kB / 0.8606 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.5684, allocations: 83.42 kB / 0.8607 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.5706, allocations: 0.959 MB / 0.8617 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5706, allocations: 8 kB / 0.8617 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5706, allocations: 0 / 0.8617 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5706, allocations: 3.984 kB / 0.8617 GB, free: 3.402 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.5737, allocations: 1.837 MB / 0.8635 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5737, allocations: 3.938 kB / 0.8635 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.5742, allocations: 143.8 kB / 0.8636 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.5746, allocations: 68.78 kB / 0.8637 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.5747, allocations: 19.98 kB / 0.8637 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2864/0.861, allocations: 1.661 MB / 0.8653 GB, free: 171.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.861, allocations: 4.281 kB / 0.8653 GB, free: 171.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.8629, allocations: 0.9012 MB / 0.8662 GB, free: 171.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.8632, allocations: 255.6 kB / 0.8664 GB, free: 171.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.834e-05/0.8633, allocations: 21.97 kB / 0.8665 GB, free: 171.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.8638, allocations: 52.72 kB / 0.8665 GB, free: 171.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.864, allocations: 60.73 kB / 0.8666 GB, free: 171.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.864, allocations: 35.59 kB / 0.8666 GB, free: 171.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005085/0.8645, allocations: 423.7 kB / 0.867 GB, free: 171.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8645, allocations: 3.375 kB / 0.867 GB, free: 171.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007546/0.8653, allocations: 287 kB / 0.8673 GB, free: 171.1 MB / 0.67 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.003421/0.8687, allocations: 1.938 MB / 0.8692 GB, free: 170.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.87, allocations: 0.7043 MB / 0.8699 GB, free: 169.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.87, allocations: 0.8125 kB / 0.8699 GB, free: 169.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007818/0.8708, allocations: 460.2 kB / 0.8703 GB, free: 169.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.8719, allocations: 294.4 kB / 0.8706 GB, free: 169.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009726/0.8816, allocations: 5.826 MB / 0.8763 GB, free: 166.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.8822, allocations: 0.9934 MB / 0.8772 GB, free: 165.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007087/0.8829, allocations: 245.7 kB / 0.8775 GB, free: 165.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.8833, allocations: 345.9 kB / 0.8778 GB, free: 165.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.032e-06/0.8833, allocations: 1.031 kB / 0.8778 GB, free: 165.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04597/0.9292, allocations: 19.76 MB / 0.8971 GB, free: 152.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.91, allocations: 13.66 kB / 0.8971 GB, free: 152.4 MB / 0.67 GB " [Timeout remaining time 647] (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: 16.221137578133494] Failed to read output from testmodel.py, exit status != 0: 13.111912111751735 13.120308868 12.576336299 Calling exit ...