Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.0013/0.0013, allocations: 97.92 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.001574/0.001574, allocations: 211.8 kB / 23.02 MB, free: 4.953 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8471/0.8471, allocations: 134 MB / 447.2 MB, free: 9.914 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.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001924/0.001924, allocations: 63.19 kB / 0.6192 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 85.91 MB / 0.7031 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006614/0.1661, allocations: 4.462 MB / 0.7075 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.538/0.7041, allocations: 132.9 MB / 0.8372 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.7052, allocations: 25.22 kB / 0.8373 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009007/0.7061, allocations: 202.8 kB / 0.8374 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.7083, allocations: 0.618 MB / 0.838 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.7105, allocations: 0.9053 MB / 0.8389 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.7124, allocations: 1.607 MB / 0.8405 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.7135, allocations: 0.771 MB / 0.8413 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.7146, allocations: 0.7239 MB / 0.842 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008982/0.7155, allocations: 0.7451 MB / 0.8427 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.7157, allocations: 176 kB / 0.8429 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.7168, allocations: 0.557 MB / 0.8434 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004104/0.7172, allocations: 434.6 kB / 0.8438 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006486/0.7179, allocations: 0.6335 MB / 0.8444 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.7208, allocations: 2.247 MB / 0.8466 GB, free: 392 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7208, allocations: 0 / 0.8466 GB, free: 392 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7208, allocations: 0 / 0.8466 GB, free: 392 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.7208, allocations: 1.5 kB / 0.8466 GB, free: 392 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003342/0.7242, allocations: 1.783 MB / 0.8484 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.7242, allocations: 8.031 kB / 0.8484 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.284e-05/0.7243, allocations: 43.05 kB / 0.8484 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/0.7245, allocations: 211.3 kB / 0.8486 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/0.7283, allocations: 435.5 kB / 0.849 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.7299, allocations: 0.8633 MB / 0.8499 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.456e-05/0.73, allocations: 102.9 kB / 0.85 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.7302, allocations: 140 kB / 0.8501 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/0.7328, allocations: 1.679 MB / 0.8518 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.7329, allocations: 0 / 0.8518 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.733, allocations: 60 kB / 0.8518 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.733, allocations: 32 kB / 0.8518 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.7356, allocations: 1.525 MB / 0.8533 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006089/0.7417, allocations: 3.299 MB / 0.8566 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.7435, allocations: 0.9 MB / 0.8574 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.7441, allocations: 363.7 kB / 0.8578 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.842e-05/0.7442, allocations: 36.95 kB / 0.8578 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.7454, allocations: 0.6792 MB / 0.8585 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 3.026e-06/0.7454, allocations: 0 / 0.8585 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=104): time 0.003839/0.7492, allocations: 1.411 MB / 0.8599 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.7494, allocations: 196.9 kB / 0.86 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.7505, allocations: 0.7788 MB / 0.8608 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.814e-05/0.7506, allocations: 49.69 kB / 0.8608 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/0.7512, allocations: 0.5752 MB / 0.8614 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/0.7516, allocations: 360.9 kB / 0.8618 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.7519, allocations: 206.2 kB / 0.862 GB, free: 304 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.7521, allocations: 345.9 kB / 0.8623 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.7527, allocations: 341.8 kB / 0.8626 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008773/0.7536, allocations: 0.581 MB / 0.8632 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.7551, allocations: 0.8 MB / 0.864 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7551, allocations: 4 kB / 0.864 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002497/0.7576, allocations: 1.072 MB / 0.865 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.7576, allocations: 8 kB / 0.865 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7576, allocations: 3.938 kB / 0.865 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.7583, allocations: 84.78 kB / 0.8651 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009514/0.7592, allocations: 215.7 kB / 0.8653 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.7615, allocations: 1.53 MB / 0.8668 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/0.7623, allocations: 107.3 kB / 0.8669 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.7624, allocations: 47.95 kB / 0.8669 GB, free: 10.97 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 (117): * Single equations (assignments): 116 * 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.0006231/0.763, allocations: 313.6 kB / 0.8672 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.7633, allocations: 107.3 kB / 0.8673 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.7665, allocations: 1.384 MB / 0.8687 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.7665, allocations: 15.94 kB / 0.8687 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.7665, allocations: 0 / 0.8687 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.7665, allocations: 3.984 kB / 0.8687 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/0.7708, allocations: 2.369 MB / 0.871 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7708, allocations: 0 / 0.871 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.7716, allocations: 199.7 kB / 0.8712 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.7721, allocations: 80.77 kB / 0.8713 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/0.7722, allocations: 27.98 kB / 0.8713 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.7742, allocations: 1.562 MB / 0.8729 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7742, allocations: 0 / 0.8729 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.7766, allocations: 1.178 MB / 0.874 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005165/0.7771, allocations: 254.8 kB / 0.8742 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.7773, allocations: 27.89 kB / 0.8743 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/0.778, allocations: 59.95 kB / 0.8743 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.7781, allocations: 84.77 kB / 0.8744 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/0.7782, allocations: 43.92 kB / 0.8745 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008992/0.7791, allocations: 0.5945 MB / 0.875 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7791, allocations: 0 / 0.875 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001092/0.7802, allocations: 402.8 kB / 0.8754 GB, free: 2.066 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 (115): * Single equations (assignments): 112 * 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.004587/0.7848, allocations: 2.259 MB / 0.8776 GB, free: 20 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.7869, allocations: 0.9756 MB / 0.8786 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7869, allocations: 0 / 0.8786 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.788, allocations: 0.5706 MB / 0.8791 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.7893, allocations: 313 kB / 0.8794 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.8039, allocations: 8.23 MB / 0.8875 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.8046, allocations: 0.589 MB / 0.888 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009863/0.8056, allocations: 308.4 kB / 0.8883 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/0.8064, allocations: 0.55 MB / 0.8889 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.8064, allocations: 0 / 0.8889 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06675/0.8732, allocations: 28.11 MB / 0.9163 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.25, allocations: 8.844 kB / 0.9163 GB, free: 8.457 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.12872090691235] Failed to read output from testmodel.py, exit status != 0: 15.52655049704481 15.543378393 14.81919381 Calling exit ...