Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5472/0.5472, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 97.45 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.788e-05/4.792e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4722, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.162/4.634, allocations: 1.684 GB / 2.244 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/4.635, allocations: 99.23 kB / 2.244 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1261/4.761, allocations: 59.34 MB / 2.302 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/4.761, allocations: 0 / 2.302 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.715e-05/4.761, allocations: 27.94 kB / 2.302 GB, free: 9.012 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001894/4.763, allocations: 1.07 MB / 2.303 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/4.763, allocations: 15.98 kB / 2.303 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/4.763, allocations: 127 kB / 2.304 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008462/4.764, allocations: 182.6 kB / 2.304 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008735/4.765, allocations: 0.6114 MB / 2.304 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/4.765, allocations: 58 kB / 2.304 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/4.765, allocations: 76 kB / 2.305 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/4.766, allocations: 0.8405 MB / 2.305 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/4.766, allocations: 4 kB / 2.305 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/4.766, allocations: 36 kB / 2.305 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/4.766, allocations: 20 kB / 2.305 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/4.767, allocations: 1.023 MB / 2.306 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/4.771, allocations: 2.418 MB / 2.309 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/4.772, allocations: 0.7645 MB / 2.309 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/4.772, allocations: 267.1 kB / 2.31 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/4.772, allocations: 36.8 kB / 2.31 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005562/4.773, allocations: 405.3 kB / 2.31 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.574e-06/4.773, allocations: 0 / 2.31 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001518/4.774, allocations: 0.6914 MB / 2.311 GB, free: 124 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3664/5.141, allocations: 241 kB / 2.311 GB, free: 196.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/5.143, allocations: 0.5726 MB / 2.312 GB, free: 196.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002948/5.143, allocations: 42.45 kB / 2.312 GB, free: 196.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/5.144, allocations: 372.9 kB / 2.312 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004755/5.144, allocations: 241.3 kB / 2.312 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/5.144, allocations: 12.94 kB / 2.312 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002116/5.144, allocations: 379.9 kB / 2.313 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/5.145, allocations: 198.4 kB / 2.313 GB, free: 195.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/5.146, allocations: 310 kB / 2.313 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007741/5.147, allocations: 250.5 kB / 2.313 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/5.147, allocations: 0.5312 kB / 2.313 GB, free: 195.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002822/5.15, allocations: 0.6904 MB / 2.314 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/5.15, allocations: 6.281 kB / 2.314 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/5.15, allocations: 3.812 kB / 2.314 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008792/5.151, allocations: 86.12 kB / 2.314 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/5.152, allocations: 138.5 kB / 2.314 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/5.154, allocations: 1.52 MB / 2.316 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/5.155, allocations: 79.06 kB / 2.316 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/5.155, allocations: 30.17 kB / 2.316 GB, free: 194.4 MB / 0.6042 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0002523/5.156, allocations: 144.8 kB / 2.316 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/5.156, allocations: 77.05 kB / 2.316 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/5.159, allocations: 0.9765 MB / 2.317 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/5.159, allocations: 8.156 kB / 2.317 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/5.159, allocations: 4.344 kB / 2.317 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/5.159, allocations: 5.016 kB / 2.317 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/5.163, allocations: 1.862 MB / 2.319 GB, free: 193.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/5.163, allocations: 0.5 kB / 2.319 GB, free: 193.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/5.164, allocations: 153.5 kB / 2.319 GB, free: 193.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/5.164, allocations: 81.16 kB / 2.319 GB, free: 193.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/5.164, allocations: 35.08 kB / 2.319 GB, free: 193.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/5.166, allocations: 1.543 MB / 2.321 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/5.166, allocations: 0 / 2.321 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/5.168, allocations: 0.8708 MB / 2.321 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/5.168, allocations: 283.6 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/5.168, allocations: 15.16 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/5.169, allocations: 72.23 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/5.169, allocations: 62.23 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/5.169, allocations: 30.08 kB / 2.322 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006109/5.17, allocations: 480.5 kB / 2.322 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/5.17, allocations: 0 / 2.322 GB, free: 192.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001217/5.171, allocations: 349.2 kB / 2.323 GB, free: 192.1 MB / 0.6042 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003322/5.174, allocations: 2.354 MB / 2.325 GB, free: 191.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0012/5.176, allocations: 0.6874 MB / 2.326 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/5.176, allocations: 0 / 2.326 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000669/5.176, allocations: 480.1 kB / 2.326 GB, free: 191 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/5.177, allocations: 237.4 kB / 2.326 GB, free: 191 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/5.181, allocations: 1.55 MB / 2.328 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/5.181, allocations: 1.019 MB / 2.329 GB, free: 190 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007817/5.182, allocations: 261.2 kB / 2.329 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/5.183, allocations: 357.6 kB / 2.329 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/5.183, allocations: 0 / 2.329 GB, free: 189.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0616/5.244, allocations: 30.89 MB / 2.36 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/5.245, allocations: 253 kB / 2.36 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/8.295, allocations: 4.062 kB / 2.36 GB, free: 184.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)