Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001445/0.001445, allocations: 178.8 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.5235/0.5235, allocations: 90.81 MB / 104.5 MB, free: 9.785 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.437/1.437, allocations: 221.3 MB / 348.3 MB, free: 432 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.0009634/0.0009635, allocations: 97.89 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.137e-05, allocations: 4 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4738, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.545/5.019, allocations: 1.685 GB / 2.245 GB, free: 96.09 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/5.019, allocations: 95.94 kB / 2.245 GB, free: 96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1333/5.153, allocations: 60.17 MB / 2.304 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.395e-06/5.153, allocations: 0 / 2.304 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.813e-05/5.153, allocations: 24 kB / 2.304 GB, free: 35.59 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002438/5.155, allocations: 1.09 MB / 2.305 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/5.155, allocations: 19.98 kB / 2.305 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002752/5.155, allocations: 135.1 kB / 2.305 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/5.157, allocations: 182.5 kB / 2.305 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/5.158, allocations: 0.6153 MB / 2.306 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/5.158, allocations: 66 kB / 2.306 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/5.158, allocations: 76 kB / 2.306 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/5.16, allocations: 0.8754 MB / 2.307 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/5.16, allocations: 3.984 kB / 2.307 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/5.16, allocations: 36 kB / 2.307 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/5.16, allocations: 20 kB / 2.307 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/5.161, allocations: 1.058 MB / 2.308 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/5.165, allocations: 2.559 MB / 2.311 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/5.167, allocations: 0.8358 MB / 2.311 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/5.168, allocations: 275.1 kB / 2.312 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.631e-05/5.168, allocations: 32.81 kB / 2.312 GB, free: 27.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006023/5.168, allocations: 429.3 kB / 2.312 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/5.168, allocations: 3.938 kB / 2.312 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001649/5.17, allocations: 0.7148 MB / 2.313 GB, free: 26.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/5.17, allocations: 244.1 kB / 2.313 GB, free: 26.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/5.171, allocations: 0.5856 MB / 2.314 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/5.171, allocations: 41.7 kB / 2.314 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/5.171, allocations: 384.3 kB / 2.314 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/5.171, allocations: 248.3 kB / 2.314 GB, free: 24.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/5.172, allocations: 12 kB / 2.314 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001121/5.172, allocations: 386.7 kB / 2.315 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/5.172, allocations: 209.5 kB / 2.315 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/5.172, allocations: 317.1 kB / 2.315 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/5.173, allocations: 258 kB / 2.315 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/5.173, allocations: 0 / 2.315 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001459/5.174, allocations: 0.7149 MB / 2.316 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/5.174, allocations: 11.98 kB / 2.316 GB, free: 22.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/5.174, allocations: 0 / 2.316 GB, free: 22.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/5.175, allocations: 80.84 kB / 2.316 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/5.175, allocations: 143.8 kB / 2.316 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/5.177, allocations: 1.517 MB / 2.318 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/5.178, allocations: 95.33 kB / 2.318 GB, free: 20.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/5.178, allocations: 27.98 kB / 2.318 GB, free: 20.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001727/5.178, allocations: 141 kB / 2.318 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/5.178, allocations: 83.05 kB / 2.318 GB, free: 20.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/5.18, allocations: 1.029 MB / 2.319 GB, free: 19.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/5.18, allocations: 8 kB / 2.319 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/5.18, allocations: 4 kB / 2.319 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/5.18, allocations: 7.984 kB / 2.319 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/5.184, allocations: 1.925 MB / 2.321 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/5.184, allocations: 4 kB / 2.321 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/5.184, allocations: 167.7 kB / 2.321 GB, free: 17.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/5.185, allocations: 84.78 kB / 2.321 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/5.185, allocations: 27.97 kB / 2.321 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/5.186, allocations: 1.536 MB / 2.323 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/5.186, allocations: 3.938 kB / 2.323 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/5.188, allocations: 0.9118 MB / 2.324 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/5.188, allocations: 291.7 kB / 2.324 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/5.189, allocations: 31.92 kB / 2.324 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/5.189, allocations: 59.95 kB / 2.324 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/5.189, allocations: 68.69 kB / 2.324 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/5.189, allocations: 39.97 kB / 2.324 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006482/5.19, allocations: 483.1 kB / 2.325 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/5.19, allocations: 0 / 2.325 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00128/5.191, allocations: 375.1 kB / 2.325 GB, free: 13.32 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 (93): * Single equations (assignments): 90 * 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.004053/5.195, allocations: 2.404 MB / 2.327 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001327/5.197, allocations: 0.7137 MB / 2.328 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/5.197, allocations: 4 kB / 2.328 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007218/5.198, allocations: 487 kB / 2.328 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/5.199, allocations: 248.7 kB / 2.329 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/5.203, allocations: 1.607 MB / 2.33 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/5.204, allocations: 1.031 MB / 2.331 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009435/5.205, allocations: 262.4 kB / 2.332 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/5.205, allocations: 367.3 kB / 2.332 GB, free: 6.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.643e-06/5.205, allocations: 0 / 2.332 GB, free: 6.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4325/5.638, allocations: 31.53 MB / 2.363 GB, free: 188.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/5.638, allocations: 249.1 kB / 2.363 GB, free: 188.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/8.641, allocations: 3.188 kB / 2.363 GB, free: 188.2 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)