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.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: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 97.52 kB / 15.69 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.0009307/0.0009307, allocations: 170.8 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.308/1.308, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7722/0.7722, allocations: 113.8 MB / 405.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004381, allocations: 8 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2012, allocations: 77.14 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00797/0.2092, allocations: 3.741 MB / 0.5605 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.6017/0.811, allocations: 127.7 MB / 0.6852 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000878/0.8119, allocations: 23.88 kB / 0.6852 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.8125, allocations: 79.27 kB / 0.6853 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.8152, allocations: 0.5148 MB / 0.6858 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.8179, allocations: 0.6394 MB / 0.6864 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001989/0.8199, allocations: 0.8417 MB / 0.6872 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009981/0.821, allocations: 490.4 kB / 0.6877 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007268/0.8217, allocations: 358.5 kB / 0.688 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006214/0.8223, allocations: 378.1 kB / 0.6884 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.8225, allocations: 28 kB / 0.6884 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.8236, allocations: 307.6 kB / 0.6887 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.8239, allocations: 187.2 kB / 0.6889 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.8242, allocations: 209.1 kB / 0.6891 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.8262, allocations: 1.185 MB / 0.6903 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8262, allocations: 0 / 0.6903 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8262, allocations: 0 / 0.6903 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.878e-05/0.8263, allocations: 0 / 0.6903 GB, free: 1.254 MB / 0.4981 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.004011/0.8303, allocations: 1.271 MB / 0.6915 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8303, allocations: 12.02 kB / 0.6915 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.8319, allocations: 207.2 kB / 0.6917 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.8338, allocations: 0.7233 MB / 0.6924 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.8339, allocations: 66 kB / 0.6925 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.8342, allocations: 95.89 kB / 0.6926 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.8372, allocations: 0.9574 MB / 0.6935 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.8372, allocations: 3.984 kB / 0.6935 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.8374, allocations: 36 kB / 0.6935 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.8374, allocations: 24 kB / 0.6936 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.8407, allocations: 1.155 MB / 0.6947 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007403/0.8481, allocations: 2.715 MB / 0.6973 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.8507, allocations: 0.8511 MB / 0.6982 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.8508, allocations: 38.39 kB / 0.6982 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.8522, allocations: 0.5276 MB / 0.6987 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=88): time 4.379e-06/0.8523, allocations: 0 / 0.6987 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88): time 0.004928/0.8572, allocations: 1.299 MB / 0.7 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.8574, allocations: 196.9 kB / 0.7002 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.8588, allocations: 0.6449 MB / 0.7008 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.859, allocations: 49.7 kB / 0.7009 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.8595, allocations: 404.4 kB / 0.7012 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.8599, allocations: 279.9 kB / 0.7015 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.86, allocations: 16 kB / 0.7015 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002217/0.8602, allocations: 390.8 kB / 0.7019 GB, free: 5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/0.8611, allocations: 273.8 kB / 0.7022 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.8621, allocations: 382.5 kB / 0.7025 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009993/0.8631, allocations: 318.9 kB / 0.7028 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.8632, allocations: 3.984 kB / 0.7028 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003122/0.8663, allocations: 0.8722 MB / 0.7037 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.8663, allocations: 8 kB / 0.7037 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8664, allocations: 0 / 0.7037 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008588/0.8672, allocations: 84.83 kB / 0.7038 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.8685, allocations: 167.8 kB / 0.7039 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.8713, allocations: 1.536 MB / 0.7054 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.8725, allocations: 108 kB / 0.7055 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.8727, allocations: 43.97 kB / 0.7056 GB, free: 1.055 MB / 0.5137 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,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) * 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 (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.0006432/0.8733, allocations: 261.7 kB / 0.7058 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.8735, allocations: 86.92 kB / 0.7059 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.8776, allocations: 1.192 MB / 0.7071 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.8776, allocations: 12 kB / 0.7071 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8776, allocations: 0 / 0.7071 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.8777, allocations: 7.969 kB / 0.7071 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.8794, allocations: 0.9355 MB / 0.708 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.8794, allocations: 3.984 kB / 0.708 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.8805, allocations: 159.8 kB / 0.7082 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007649/0.8813, allocations: 88.7 kB / 0.7082 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/0.8814, allocations: 27.98 kB / 0.7083 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.884, allocations: 1.563 MB / 0.7098 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.884, allocations: 0 / 0.7098 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.8872, allocations: 0.9981 MB / 0.7108 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007121/0.888, allocations: 299.8 kB / 0.7111 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.8882, allocations: 27.98 kB / 0.7111 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.8893, allocations: 85.72 kB / 0.7112 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.8895, allocations: 80.88 kB / 0.7112 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.8896, allocations: 39.95 kB / 0.7113 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009735/0.8906, allocations: 475 kB / 0.7117 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8906, allocations: 0 / 0.7117 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001274/0.8919, allocations: 319.1 kB / 0.712 GB, free: 10.19 MB / 0.5294 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 (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.001885/0.8938, allocations: 0.6014 MB / 0.7126 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002557/0.8964, allocations: 0.8548 MB / 0.7135 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.8964, allocations: 3.938 kB / 0.7135 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.8979, allocations: 0.5393 MB / 0.714 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.8996, allocations: 249.2 kB / 0.7142 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/0.906, allocations: 2.265 MB / 0.7164 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.9068, allocations: 1.063 MB / 0.7175 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001505/0.9083, allocations: 275 kB / 0.7177 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.9088, allocations: 111.4 kB / 0.7178 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.9088, allocations: 0 / 0.7178 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of Templates: time 0.03822/0.947, allocations: 14.31 MB / 0.7318 GB, free: 6.199 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)