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.001291/0.001291, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001394/0.001394, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.992 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.8031/0.8031, allocations: 134 MB / 446.4 MB, free: 10.21 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.002041/0.002041, allocations: 63.59 kB / 0.6185 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.159, allocations: 85.9 MB / 0.7024 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007335/0.1663, allocations: 5.013 MB / 0.7073 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4501/0.6164, allocations: 154.4 MB / 0.8581 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006982/0.6171, allocations: 31.81 kB / 0.8582 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.6177, allocations: 200.8 kB / 0.8583 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.6193, allocations: 0.6083 MB / 0.8589 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.6212, allocations: 0.9262 MB / 0.8598 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.6227, allocations: 1.604 MB / 0.8614 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.6238, allocations: 0.7674 MB / 0.8622 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008402/0.6246, allocations: 0.7278 MB / 0.8629 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008376/0.6254, allocations: 0.7428 MB / 0.8636 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.6256, allocations: 180 kB / 0.8638 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009428/0.6266, allocations: 0.5726 MB / 0.8643 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.6269, allocations: 426.6 kB / 0.8647 GB, free: 324 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000662/0.6276, allocations: 0.7927 MB / 0.8655 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.6299, allocations: 2.228 MB / 0.8677 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6299, allocations: 0 / 0.8677 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6299, allocations: 4 kB / 0.8677 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.6299, allocations: 0 / 0.8677 GB, free: 13.28 MB / 0.6387 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.002841/0.6327, allocations: 1.783 MB / 0.8694 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6328, allocations: 12.03 kB / 0.8694 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.633, allocations: 211.3 kB / 0.8696 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.6365, allocations: 439.5 kB / 0.8701 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.6379, allocations: 0.8596 MB / 0.8709 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.643e-05/0.638, allocations: 106.8 kB / 0.871 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.6381, allocations: 140 kB / 0.8711 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.6404, allocations: 1.428 MB / 0.8725 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.6404, allocations: 0 / 0.8725 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6405, allocations: 60 kB / 0.8726 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.6405, allocations: 36 kB / 0.8726 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.643, allocations: 1.513 MB / 0.8741 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005618/0.6486, allocations: 3.67 MB / 0.8777 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.6502, allocations: 0.9068 MB / 0.8786 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/0.6508, allocations: 363.7 kB / 0.8789 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.6509, allocations: 44.92 kB / 0.879 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009653/0.6518, allocations: 0.5865 MB / 0.8795 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 2.034e-06/0.6518, allocations: 0 / 0.8795 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.003541/0.6554, allocations: 1.407 MB / 0.8809 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.6555, allocations: 192.9 kB / 0.8811 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009597/0.6565, allocations: 0.7826 MB / 0.8819 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.6565, allocations: 45.7 kB / 0.8819 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.657, allocations: 0.5752 MB / 0.8825 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.6573, allocations: 360.9 kB / 0.8828 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.6576, allocations: 206.5 kB / 0.883 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6577, allocations: 345.9 kB / 0.8833 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.6583, allocations: 337.8 kB / 0.8837 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.6591, allocations: 462.5 kB / 0.8841 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.6606, allocations: 0.8078 MB / 0.8849 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6606, allocations: 0 / 0.8849 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002313/0.6629, allocations: 1.072 MB / 0.8859 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6629, allocations: 8.031 kB / 0.8859 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6629, allocations: 4 kB / 0.8859 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.6635, allocations: 88.7 kB / 0.886 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/0.6644, allocations: 211.7 kB / 0.8862 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.6664, allocations: 1.532 MB / 0.8877 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.6671, allocations: 111.3 kB / 0.8878 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/0.6672, allocations: 39.97 kB / 0.8879 GB, free: 8.121 MB / 0.6544 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.000441/0.6676, allocations: 317.7 kB / 0.8882 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.6678, allocations: 111.3 kB / 0.8883 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.6708, allocations: 1.385 MB / 0.8896 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.6708, allocations: 15.92 kB / 0.8896 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.6708, allocations: 0 / 0.8896 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.6708, allocations: 7.984 kB / 0.8896 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.675, allocations: 2.552 MB / 0.8921 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.675, allocations: 4 kB / 0.8921 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/0.6758, allocations: 199.7 kB / 0.8923 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.6762, allocations: 72.78 kB / 0.8924 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.6763, allocations: 23.98 kB / 0.8924 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.6782, allocations: 1.582 MB / 0.894 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6782, allocations: 0 / 0.894 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.6805, allocations: 1.174 MB / 0.8951 GB, free: 484 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.681, allocations: 246.9 kB / 0.8954 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.6812, allocations: 31.89 kB / 0.8954 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.6818, allocations: 65.97 kB / 0.8954 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.682, allocations: 76.84 kB / 0.8955 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.29e-05/0.6821, allocations: 39.98 kB / 0.8956 GB, free: 24 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008396/0.6829, allocations: 0.597 MB / 0.8961 GB, free: 15.41 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.6829, allocations: 4 kB / 0.8961 GB, free: 15.41 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009613/0.6839, allocations: 402.7 kB / 0.8965 GB, free: 15.01 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 (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.004538/0.6884, allocations: 2.232 MB / 0.8987 GB, free: 12.97 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.6905, allocations: 0.9718 MB / 0.8997 GB, free: 11.99 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6905, allocations: 0 / 0.8997 GB, free: 11.99 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6916, allocations: 0.5743 MB / 0.9002 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6928, allocations: 307.4 kB / 0.9005 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.7071, allocations: 8.227 MB / 0.9085 GB, free: 2.754 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/0.708, allocations: 1.173 MB / 0.9097 GB, free: 1.551 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008929/0.7089, allocations: 296.5 kB / 0.91 GB, free: 1.258 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/0.7097, allocations: 0.5616 MB / 0.9105 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.7097, allocations: 0 / 0.9105 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0712/0.7809, allocations: 27.37 MB / 0.9373 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.53, allocations: 10.08 kB / 0.9373 GB, free: 5.48 MB / 0.7012 GB " [Timeout remaining time 645] (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: 18.054899108130485] Failed to read output from testmodel.py, exit status != 0: 14.7662110067904 14.782569962 14.149588896 Calling exit ...