Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001482, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 193 kB / 16.26 MB, free: 6.621 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002597/0.002597, allocations: 282.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.507 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 108.4 kB / 0.6059 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2018, allocations: 89.14 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007701/0.2095, allocations: 4.793 MB / 0.6977 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5332/0.7427, allocations: 148.3 MB / 0.8425 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007788/0.7435, allocations: 18.31 kB / 0.8425 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.7442, allocations: 146.7 kB / 0.8427 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.7459, allocations: 488.7 kB / 0.8432 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.7478, allocations: 0.7429 MB / 0.8439 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.7494, allocations: 1.362 MB / 0.8452 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.7504, allocations: 0.5721 MB / 0.8458 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/0.7511, allocations: 475.8 kB / 0.8462 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.7517, allocations: 0.4948 MB / 0.8467 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.7518, allocations: 112.6 kB / 0.8468 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008074/0.7526, allocations: 455.3 kB / 0.8472 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.7529, allocations: 293 kB / 0.8475 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004966/0.7534, allocations: 0.5475 MB / 0.8481 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.7552, allocations: 1.577 MB / 0.8496 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7552, allocations: 0 / 0.8496 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7552, allocations: 0 / 0.8496 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.7553, allocations: 0 / 0.8496 GB, free: 5.062 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002585/0.7579, allocations: 1.406 MB / 0.851 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.7579, allocations: 9.219 kB / 0.851 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.7588, allocations: 186.8 kB / 0.8512 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.7599, allocations: 0.733 MB / 0.8519 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.76, allocations: 61.41 kB / 0.8519 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.7601, allocations: 82.84 kB / 0.852 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.7617, allocations: 0.9016 MB / 0.8529 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.7617, allocations: 4 kB / 0.8529 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.7618, allocations: 35.75 kB / 0.8529 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.7619, allocations: 20.16 kB / 0.853 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.7636, allocations: 1.097 MB / 0.854 GB, free: 2.07 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.7678, allocations: 2.687 MB / 0.8566 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.7693, allocations: 0.8643 MB / 0.8575 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/0.7699, allocations: 302.1 kB / 0.8578 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.339e-05/0.77, allocations: 35.94 kB / 0.8578 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009493/0.7709, allocations: 492.2 kB / 0.8583 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.735e-06/0.7709, allocations: 0 / 0.8583 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003336/0.7743, allocations: 1.179 MB / 0.8594 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.7744, allocations: 194.9 kB / 0.8596 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.7754, allocations: 0.6273 MB / 0.8602 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/0.7755, allocations: 43.23 kB / 0.8603 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.7758, allocations: 377.2 kB / 0.8606 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.7761, allocations: 260.9 kB / 0.8609 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.7764, allocations: 166.9 kB / 0.861 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.7766, allocations: 384.3 kB / 0.8614 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.7771, allocations: 264.7 kB / 0.8617 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.7778, allocations: 358.4 kB / 0.862 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.7789, allocations: 0.6009 MB / 0.8626 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.7789, allocations: 0 / 0.8626 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002063/0.781, allocations: 0.8392 MB / 0.8634 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.781, allocations: 8.375 kB / 0.8634 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.781, allocations: 0 / 0.8634 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/0.7817, allocations: 89.83 kB / 0.8635 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.7823, allocations: 161.6 kB / 0.8637 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.7849, allocations: 1.634 MB / 0.8653 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/0.7858, allocations: 92.88 kB / 0.8653 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.7859, allocations: 34.61 kB / 0.8654 GB, free: 9.785 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005533/0.7865, allocations: 277.2 kB / 0.8656 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.7867, allocations: 86.31 kB / 0.8657 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.7891, allocations: 1.046 MB / 0.8667 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.7891, allocations: 9.969 kB / 0.8668 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.7892, allocations: 0 / 0.8668 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.7892, allocations: 7.969 kB / 0.8668 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.7926, allocations: 1.907 MB / 0.8686 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.7926, allocations: 4 kB / 0.8686 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.7933, allocations: 139.8 kB / 0.8688 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/0.7937, allocations: 72.78 kB / 0.8688 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.7938, allocations: 23.98 kB / 0.8689 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.796, allocations: 1.654 MB / 0.8705 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.796, allocations: 7.875 kB / 0.8705 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.7983, allocations: 0.9882 MB / 0.8714 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.7987, allocations: 271.8 kB / 0.8717 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.7989, allocations: 23.92 kB / 0.8717 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.7996, allocations: 59.94 kB / 0.8718 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.7997, allocations: 68.91 kB / 0.8718 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.7998, allocations: 35.97 kB / 0.8719 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006365/0.8005, allocations: 455 kB / 0.8723 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8005, allocations: 4 kB / 0.8723 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009487/0.8014, allocations: 311.3 kB / 0.8726 GB, free: 3.207 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001975/0.8034, allocations: 0.616 MB / 0.8732 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.806, allocations: 1.008 MB / 0.8742 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.806, allocations: 4 kB / 0.8742 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.8071, allocations: 0.5236 MB / 0.8747 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8085, allocations: 290.6 kB / 0.875 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.812, allocations: 2.04 MB / 0.877 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/0.8127, allocations: 1.015 MB / 0.878 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009112/0.8137, allocations: 266.5 kB / 0.8782 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.8139, allocations: 103.4 kB / 0.8783 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.814, allocations: 0 / 0.8783 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of Templates: time 0.02828/0.8422, allocations: 14.86 MB / 0.8928 GB, free: 14.83 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)