Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.798/0.798, allocations: 143.4 MB / 159.2 MB, free: 4.848 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 195.2 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001042, allocations: 103.8 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 273.9 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 83.86 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3237, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005159/0.3289, allocations: 4.206 MB / 0.772 GB, free: 23.43 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.429/0.758, allocations: 148.2 MB / 0.9168 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006994/0.7587, allocations: 17.09 kB / 0.9168 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.7593, allocations: 134 kB / 0.917 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.7606, allocations: 407 kB / 0.9173 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.7623, allocations: 0.7216 MB / 0.918 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.7636, allocations: 1.147 MB / 0.9192 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007942/0.7644, allocations: 0.6221 MB / 0.9198 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.765, allocations: 394.6 kB / 0.9202 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.7655, allocations: 443 kB / 0.9206 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.7656, allocations: 54.03 kB / 0.9206 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008449/0.7664, allocations: 417.6 kB / 0.921 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.7667, allocations: 229.5 kB / 0.9212 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.7672, allocations: 471.7 kB / 0.9217 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.7686, allocations: 1.451 MB / 0.9231 GB, free: 15.69 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.7686, allocations: 3.75 kB / 0.9231 GB, free: 15.69 MB / 0.573 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7686, allocations: 0 / 0.9231 GB, free: 15.69 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.7686, allocations: 0 / 0.9231 GB, free: 15.69 MB / 0.573 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.002163/0.7708, allocations: 1.361 MB / 0.9244 GB, free: 14.95 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7709, allocations: 10.09 kB / 0.9245 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/0.7717, allocations: 180.5 kB / 0.9246 GB, free: 14.89 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009933/0.7727, allocations: 0.7151 MB / 0.9253 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.7728, allocations: 60.25 kB / 0.9254 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.7729, allocations: 80.75 kB / 0.9255 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.7743, allocations: 0.8979 MB / 0.9263 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.7743, allocations: 1.875 kB / 0.9263 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.7744, allocations: 40.73 kB / 0.9264 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.7744, allocations: 23.62 kB / 0.9264 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.776, allocations: 1.094 MB / 0.9275 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.7797, allocations: 2.519 MB / 0.9299 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.7816, allocations: 0.8739 MB / 0.9308 GB, free: 13.51 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.7821, allocations: 287.8 kB / 0.9311 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.7822, allocations: 35.61 kB / 0.9311 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000788/0.783, allocations: 454.3 kB / 0.9315 GB, free: 13.42 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 3.867e-06/0.783, allocations: 0 / 0.9315 GB, free: 13.42 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.003003/0.786, allocations: 1.119 MB / 0.9326 GB, free: 13.22 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/0.7861, allocations: 188.8 kB / 0.9328 GB, free: 13 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008994/0.787, allocations: 0.5985 MB / 0.9334 GB, free: 12.88 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.7871, allocations: 40.08 kB / 0.9334 GB, free: 12.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.7874, allocations: 378.5 kB / 0.9338 GB, free: 12.66 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.7876, allocations: 256.4 kB / 0.934 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.7879, allocations: 160.6 kB / 0.9342 GB, free: 12.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.788, allocations: 386.5 kB / 0.9345 GB, free: 12.16 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.7885, allocations: 256.5 kB / 0.9348 GB, free: 12.16 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.789, allocations: 337 kB / 0.9351 GB, free: 12.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.79, allocations: 0.5818 MB / 0.9357 GB, free: 12.06 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.79, allocations: 0 / 0.9357 GB, free: 12.06 MB / 0.573 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001773/0.7918, allocations: 0.8093 MB / 0.9365 GB, free: 11.95 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.7918, allocations: 4.844 kB / 0.9365 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7918, allocations: 2.219 kB / 0.9365 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.7924, allocations: 80.22 kB / 0.9366 GB, free: 11.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.793, allocations: 159 kB / 0.9367 GB, free: 11.94 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.7949, allocations: 1.526 MB / 0.9382 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007087/0.7956, allocations: 84.83 kB / 0.9383 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.7957, allocations: 40.66 kB / 0.9383 GB, free: 10.61 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004431/0.7962, allocations: 255.6 kB / 0.9386 GB, free: 10.49 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.7963, allocations: 84.25 kB / 0.9386 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.7986, allocations: 1.044 MB / 0.9397 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.7986, allocations: 14.59 kB / 0.9397 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7987, allocations: 6.438 kB / 0.9397 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.7987, allocations: 4.922 kB / 0.9397 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.802, allocations: 1.93 MB / 0.9416 GB, free: 9.945 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.802, allocations: 0 / 0.9416 GB, free: 9.945 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.8026, allocations: 162.5 kB / 0.9417 GB, free: 9.941 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005076/0.8031, allocations: 83.28 kB / 0.9418 GB, free: 9.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-05/0.8032, allocations: 26.33 kB / 0.9418 GB, free: 9.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.8051, allocations: 1.543 MB / 0.9433 GB, free: 8.633 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8051, allocations: 0 / 0.9433 GB, free: 8.633 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.808, allocations: 1.978 MB / 0.9453 GB, free: 7.816 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.8084, allocations: 273.6 kB / 0.9455 GB, free: 7.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.8085, allocations: 20.41 kB / 0.9455 GB, free: 7.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.8091, allocations: 57.02 kB / 0.9456 GB, free: 7.656 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.8092, allocations: 68.16 kB / 0.9457 GB, free: 7.656 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.8093, allocations: 28.83 kB / 0.9457 GB, free: 7.656 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004562/0.8097, allocations: 439.6 kB / 0.9461 GB, free: 7.566 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8097, allocations: 0 / 0.9461 GB, free: 7.566 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009712/0.8107, allocations: 310 kB / 0.9464 GB, free: 7.516 MB / 0.573 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.812, allocations: 0.6245 MB / 0.947 GB, free: 7.289 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.8134, allocations: 0.7967 MB / 0.9478 GB, free: 7.152 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8134, allocations: 0 / 0.9478 GB, free: 7.152 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.8142, allocations: 0.5116 MB / 0.9483 GB, free: 7.031 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.8154, allocations: 269.4 kB / 0.9486 GB, free: 7.008 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.8194, allocations: 2.572 MB / 0.9511 GB, free: 5.762 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.82, allocations: 1.04 MB / 0.9521 GB, free: 5.047 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008733/0.8209, allocations: 269.9 kB / 0.9523 GB, free: 4.965 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.8212, allocations: 100.2 kB / 0.9524 GB, free: 4.957 MB / 0.573 GB Notification: Performance of SimCode: time 7.62e-07/0.8212, allocations: 0 / 0.9524 GB, free: 4.957 MB / 0.573 GB Notification: Performance of Templates: time 0.02208/0.8433, allocations: 14.15 MB / 0.9663 GB, free: 14.43 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)