Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.0009484, allocations: 96.81 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009891/0.0009891, allocations: 176.9 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.71/0.71, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 8.875 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005375/0.1719, allocations: 4.544 MB / 0.5612 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5773/0.7493, allocations: 128.1 MB / 0.6862 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.7505, allocations: 19.94 kB / 0.6862 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.7511, allocations: 107 kB / 0.6863 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.7538, allocations: 0.6476 MB / 0.687 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.7566, allocations: 0.7224 MB / 0.6877 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0027/0.7593, allocations: 1.154 MB / 0.6888 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.761, allocations: 0.8319 MB / 0.6896 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.7622, allocations: 0.5484 MB / 0.6902 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.7634, allocations: 0.5673 MB / 0.6907 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.7636, allocations: 44 kB / 0.6908 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.7649, allocations: 315.7 kB / 0.6911 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004159/0.7653, allocations: 274.8 kB / 0.6913 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004771/0.7658, allocations: 296.9 kB / 0.6916 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.7689, allocations: 1.809 MB / 0.6934 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7689, allocations: 4 kB / 0.6934 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.026e-06/0.7689, allocations: 0 / 0.6934 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.834e-05/0.769, allocations: 0 / 0.6934 GB, free: 14.03 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005808/0.7748, allocations: 1.704 MB / 0.695 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.7749, allocations: 8.031 kB / 0.695 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005015/0.7754, allocations: 227.3 kB / 0.6953 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.7772, allocations: 265.6 kB / 0.6955 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.7797, allocations: 0.9381 MB / 0.6964 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.7799, allocations: 119 kB / 0.6965 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.7802, allocations: 148 kB / 0.6967 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004567/0.7848, allocations: 1.564 MB / 0.6982 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.7849, allocations: 4 kB / 0.6982 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/0.7851, allocations: 60 kB / 0.6983 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/0.7852, allocations: 36 kB / 0.6983 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00489/0.7901, allocations: 1.635 MB / 0.6999 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.8022, allocations: 4.172 MB / 0.704 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.8059, allocations: 1.201 MB / 0.7052 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.8061, allocations: 50.11 kB / 0.7052 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002178/0.8083, allocations: 0.7775 MB / 0.706 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=128): time 5.009e-06/0.8084, allocations: 0 / 0.706 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=128): time 0.007256/0.8156, allocations: 1.847 MB / 0.7078 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.8158, allocations: 193.2 kB / 0.7079 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.8179, allocations: 0.8577 MB / 0.7088 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.8181, allocations: 49.7 kB / 0.7088 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008387/0.8189, allocations: 0.6092 MB / 0.7094 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005953/0.8195, allocations: 414.1 kB / 0.7098 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.8197, allocations: 24 kB / 0.7098 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002418/0.8199, allocations: 353.9 kB / 0.7102 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.8214, allocations: 422.4 kB / 0.7106 GB, free: 12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.823, allocations: 0.5487 MB / 0.7111 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.8246, allocations: 486.3 kB / 0.7116 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.8246, allocations: 0 / 0.7116 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004584/0.8292, allocations: 1.293 MB / 0.7128 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.8293, allocations: 4 kB / 0.7129 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.8293, allocations: 0 / 0.7129 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009138/0.8302, allocations: 88.83 kB / 0.7129 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.8322, allocations: 251.6 kB / 0.7132 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.8353, allocations: 1.552 MB / 0.7147 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.8373, allocations: 162.8 kB / 0.7148 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.8375, allocations: 51.95 kB / 0.7149 GB, free: 7.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.8385, allocations: 348.1 kB / 0.7152 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.8389, allocations: 122.5 kB / 0.7153 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006085/0.845, allocations: 1.729 MB / 0.717 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.8451, allocations: 16.05 kB / 0.7171 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8451, allocations: 7.938 kB / 0.7171 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/0.8451, allocations: 11.92 kB / 0.7171 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.8479, allocations: 1.404 MB / 0.7184 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.8479, allocations: 0 / 0.7184 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.8496, allocations: 215.7 kB / 0.7186 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008187/0.8504, allocations: 92.69 kB / 0.7187 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.8506, allocations: 39.97 kB / 0.7188 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.8535, allocations: 1.567 MB / 0.7203 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.8535, allocations: 7.984 kB / 0.7203 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004661/0.8582, allocations: 1.402 MB / 0.7217 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.8592, allocations: 410.8 kB / 0.7221 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.8595, allocations: 32 kB / 0.7221 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/0.8612, allocations: 114.8 kB / 0.7222 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.8616, allocations: 109.1 kB / 0.7223 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/0.8617, allocations: 55.95 kB / 0.7224 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001443/0.8632, allocations: 0.6463 MB / 0.723 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8632, allocations: 0 / 0.723 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001868/0.8651, allocations: 454.6 kB / 0.7234 GB, free: 14.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007084/0.8722, allocations: 2.484 MB / 0.7259 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004015/0.8763, allocations: 1.236 MB / 0.7271 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8763, allocations: 0 / 0.7271 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.8785, allocations: 0.7403 MB / 0.7278 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.8806, allocations: 265.1 kB / 0.728 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/0.9028, allocations: 8.188 MB / 0.736 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.9039, allocations: 1.275 MB / 0.7373 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001318/0.9052, allocations: 337.9 kB / 0.7376 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008906/0.9061, allocations: 0.6242 MB / 0.7382 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.9061, allocations: 0 / 0.7382 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4359/1.342, allocations: 29.94 MB / 0.7675 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/1.342, allocations: 268.1 kB / 0.7677 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/4.145, allocations: 0 / 0.7677 GB, free: 1.191 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: