Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 191.2 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 0.6366 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009923/0.0009924, allocations: 91.38 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3023, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8311/1.134, allocations: 140.5 MB / 1.126 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.134, allocations: 88.38 kB / 1.126 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008147/1.142, allocations: 3.228 MB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.685e-06/1.142, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.142, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005573/1.143, allocations: 460.4 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.143, allocations: 12.03 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/1.143, allocations: 34.56 kB / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/1.143, allocations: 17.88 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/1.143, allocations: 218.6 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.143, allocations: 0 / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/1.143, allocations: 8.281 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/1.143, allocations: 133.2 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.143, allocations: 4 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/1.143, allocations: 5.453 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.143, allocations: 0 / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/1.144, allocations: 78.86 kB / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/1.144, allocations: 398.2 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/1.144, allocations: 121.7 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/1.144, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/1.144, allocations: 176.2 kB / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/1.144, allocations: 0 / 1.13 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0006387/1.145, allocations: 453.5 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/1.145, allocations: 114.3 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/1.145, allocations: 179.5 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.145, allocations: 25.7 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/1.145, allocations: 115.5 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/1.145, allocations: 23.66 kB / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/1.146, allocations: 4.938 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.146, allocations: 329.7 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/1.146, allocations: 74.34 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/1.146, allocations: 84.77 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/1.146, allocations: 104.8 kB / 1.132 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.146, allocations: 0 / 1.132 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003499/1.146, allocations: 306 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/1.146, allocations: 37.27 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.146, allocations: 0.5625 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.146, allocations: 0.75 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/1.146, allocations: 11.66 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.146, allocations: 4.031 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/1.147, allocations: 4.5 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/1.147, allocations: 13.73 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.147, allocations: 177 kB / 1.132 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/1.147, allocations: 19.81 kB / 1.132 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/1.147, allocations: 67.62 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.147, allocations: 0.9375 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.147, allocations: 4.938 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.147, allocations: 4 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/1.147, allocations: 229.3 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.147, allocations: 0 / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/1.147, allocations: 11.42 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/1.147, allocations: 0 / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.147, allocations: 4 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.147, allocations: 0.5625 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.147, allocations: 4 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/1.148, allocations: 387 kB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.148, allocations: 111.6 kB / 1.133 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/1.148, allocations: 4.5 kB / 1.133 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/1.148, allocations: 7.422 kB / 1.133 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/1.148, allocations: 8 kB / 1.133 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/1.148, allocations: 8.625 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.807e-05/1.148, allocations: 158.2 kB / 1.133 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.148, allocations: 0 / 1.133 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002444/1.148, allocations: 48.59 kB / 1.133 GB, free: 27.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000623/1.149, allocations: 0.9405 MB / 1.134 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002408/1.149, allocations: 217.2 kB / 1.135 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.149, allocations: 0 / 1.135 GB, free: 26.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/1.149, allocations: 155 kB / 1.135 GB, free: 26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/1.15, allocations: 10.11 kB / 1.135 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/1.151, allocations: 1.224 MB / 1.136 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/1.151, allocations: 0.7207 MB / 1.137 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.251e-05/1.151, allocations: 4.609 kB / 1.137 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/1.151, allocations: 34.95 kB / 1.137 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/1.151, allocations: 0 / 1.137 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/1.166, allocations: 2.738 MB / 1.139 GB, free: 22.51 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.166, allocations: 202.6 kB / 1.14 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/3.026, allocations: 0 / 1.14 GB, free: 22.27 MB / 0.7292 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)