Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.001309/0.001309, allocations: 100.4 kB / 20.48 MB, free: 1.363 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.002167/0.002167, allocations: 215.3 kB / 23.78 MB, free: 4.523 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.005/1.005, allocations: 150 MB / 464 MB, free: 10.19 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002038/0.002038, allocations: 66.56 kB / 0.642 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2148, allocations: 89.18 MB / 0.729 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007527/0.2224, allocations: 4.5 MB / 0.7334 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5704/0.7928, allocations: 132.8 MB / 0.8631 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.7939, allocations: 23.81 kB / 0.8631 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.7946, allocations: 204 kB / 0.8633 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.7966, allocations: 0.6018 MB / 0.8639 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.7989, allocations: 0.8671 MB / 0.8647 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.8011, allocations: 1.48 MB / 0.8662 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008656/0.802, allocations: 414 kB / 0.8666 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009819/0.803, allocations: 0.5411 MB / 0.8671 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007485/0.8037, allocations: 0.5445 MB / 0.8676 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.8039, allocations: 128 kB / 0.8678 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.8051, allocations: 0.4996 MB / 0.8683 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.8054, allocations: 318.9 kB / 0.8686 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.8059, allocations: 485.7 kB / 0.869 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.8084, allocations: 1.753 MB / 0.8707 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8084, allocations: 0 / 0.8707 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8084, allocations: 0 / 0.8707 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.8084, allocations: 4 kB / 0.8707 GB, free: 3.793 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003086/0.8115, allocations: 1.472 MB / 0.8722 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.8115, allocations: 8.031 kB / 0.8722 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.383e-05/0.8115, allocations: 26.19 kB / 0.8722 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.8117, allocations: 139.7 kB / 0.8723 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.8137, allocations: 268 kB / 0.8726 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.815, allocations: 0.7306 MB / 0.8733 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/0.8151, allocations: 70 kB / 0.8734 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.8152, allocations: 84 kB / 0.8735 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.8172, allocations: 1.212 MB / 0.8746 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.8172, allocations: 4 kB / 0.8746 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.8173, allocations: 40 kB / 0.8747 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.8173, allocations: 23.98 kB / 0.8747 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.8193, allocations: 1.155 MB / 0.8758 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004327/0.8236, allocations: 2.391 MB / 0.8782 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.8252, allocations: 0.8042 MB / 0.879 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/0.8258, allocations: 294.7 kB / 0.8792 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.784e-05/0.8259, allocations: 24.64 kB / 0.8793 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.8269, allocations: 0.636 MB / 0.8799 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.805e-06/0.8269, allocations: 0 / 0.8799 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.003539/0.8305, allocations: 1.223 MB / 0.8811 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.8306, allocations: 196.9 kB / 0.8813 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009782/0.8316, allocations: 0.6763 MB / 0.8819 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.8317, allocations: 45.7 kB / 0.882 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.832, allocations: 417.1 kB / 0.8824 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.8323, allocations: 297.6 kB / 0.8826 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.8326, allocations: 162.6 kB / 0.8828 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.8328, allocations: 391.3 kB / 0.8832 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.8334, allocations: 273.9 kB / 0.8834 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.8342, allocations: 0.5068 MB / 0.8839 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.8354, allocations: 0.632 MB / 0.8845 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8354, allocations: 0 / 0.8845 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002102/0.8375, allocations: 0.8758 MB / 0.8854 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8375, allocations: 11.92 kB / 0.8854 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.8375, allocations: 8.094 kB / 0.8854 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.8382, allocations: 76.72 kB / 0.8855 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.8389, allocations: 171.8 kB / 0.8857 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.8412, allocations: 1.519 MB / 0.8871 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.842, allocations: 99.45 kB / 0.8872 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.8421, allocations: 35.91 kB / 0.8873 GB, free: 2.285 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: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0005325/0.8426, allocations: 277.7 kB / 0.8875 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.8428, allocations: 95.39 kB / 0.8876 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.8455, allocations: 1.17 MB / 0.8888 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.8455, allocations: 8 kB / 0.8888 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.8455, allocations: 0 / 0.8888 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.8455, allocations: 11.97 kB / 0.8888 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.8467, allocations: 0.7818 MB / 0.8896 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.8467, allocations: 4 kB / 0.8896 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.8473, allocations: 155.9 kB / 0.8897 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/0.8478, allocations: 76.78 kB / 0.8898 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.8478, allocations: 31.91 kB / 0.8898 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.8498, allocations: 1.551 MB / 0.8913 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8498, allocations: 0 / 0.8913 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.852, allocations: 1.002 MB / 0.8923 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.8524, allocations: 211 kB / 0.8925 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.8526, allocations: 20 kB / 0.8925 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.8533, allocations: 76.56 kB / 0.8926 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.8534, allocations: 80.84 kB / 0.8927 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/0.8535, allocations: 35.98 kB / 0.8927 GB, free: 12.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006907/0.8542, allocations: 0.4912 MB / 0.8932 GB, free: 12.03 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8542, allocations: 0 / 0.8932 GB, free: 12.03 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009186/0.8551, allocations: 342.9 kB / 0.8935 GB, free: 11.7 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004423/0.8596, allocations: 2.088 MB / 0.8956 GB, free: 9.828 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.8614, allocations: 0.8312 MB / 0.8964 GB, free: 8.984 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8614, allocations: 7.938 kB / 0.8964 GB, free: 8.977 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.8624, allocations: 0.516 MB / 0.8969 GB, free: 8.449 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.8635, allocations: 303.7 kB / 0.8972 GB, free: 8.172 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.8749, allocations: 6.601 MB / 0.9036 GB, free: 1.418 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.8754, allocations: 461.9 kB / 0.9041 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001012/0.8764, allocations: 271.2 kB / 0.9043 GB, free: 0.668 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006535/0.8771, allocations: 419.2 kB / 0.9047 GB, free: 264 kB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/0.8771, allocations: 0 / 0.9047 GB, free: 264 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09027/0.9674, allocations: 24.5 MB / 0.9286 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.68, allocations: 21.08 kB / 0.9287 GB, free: 8.074 MB / 0.7012 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.838630181970075] Failed to read output from testmodel.py, exit status != 0: 15.974643317982554 16.001150502 15.187591839 Calling exit ...