Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8256/0.8256, allocations: 143.4 MB / 159.2 MB, free: 4.871 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.001207/0.001207, allocations: 190.1 kB / 191.9 MB, free: 5.734 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.334/1.334, allocations: 222.9 MB / 447.3 MB, free: 5.863 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.001013/0.001013, allocations: 95.75 kB / 0.5169 GB, free: 3.742 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 285.1 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 87.81 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.36, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004701/0.3647, allocations: 4.309 MB / 0.7721 GB, free: 23.36 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5468/0.9116, allocations: 148.3 MB / 0.9169 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008738/0.9125, allocations: 18 kB / 0.9169 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.9131, allocations: 138.3 kB / 0.9171 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.9145, allocations: 423.8 kB / 0.9175 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.9164, allocations: 0.7241 MB / 0.9182 GB, free: 15.92 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.9178, allocations: 1.201 MB / 0.9194 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.9187, allocations: 0.6846 MB / 0.92 GB, free: 15.76 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006061/0.9193, allocations: 439.4 kB / 0.9204 GB, free: 15.76 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.9199, allocations: 489.6 kB / 0.9209 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.92, allocations: 62.34 kB / 0.921 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009916/0.921, allocations: 423.1 kB / 0.9214 GB, free: 15.74 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.9213, allocations: 247.8 kB / 0.9216 GB, free: 15.74 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006015/0.9219, allocations: 0.5018 MB / 0.9221 GB, free: 15.74 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.9236, allocations: 1.558 MB / 0.9236 GB, free: 15.65 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9236, allocations: 0 / 0.9236 GB, free: 15.65 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9236, allocations: 4 kB / 0.9236 GB, free: 15.64 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.9236, allocations: 2.984 kB / 0.9236 GB, free: 15.64 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002247/0.9259, allocations: 1.44 MB / 0.925 GB, free: 14.88 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.9259, allocations: 7.906 kB / 0.925 GB, free: 14.88 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/0.9268, allocations: 191.6 kB / 0.9252 GB, free: 14.81 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.9279, allocations: 0.7476 MB / 0.926 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/0.928, allocations: 70.19 kB / 0.926 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.9281, allocations: 89.88 kB / 0.9261 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.9297, allocations: 0.9905 MB / 0.9271 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.9297, allocations: 3.984 kB / 0.9271 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.9298, allocations: 39.19 kB / 0.9271 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.9298, allocations: 23.81 kB / 0.9271 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.9317, allocations: 1.165 MB / 0.9283 GB, free: 14.33 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.936, allocations: 2.714 MB / 0.9309 GB, free: 13.54 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.9373, allocations: 0.7808 MB / 0.9317 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.9378, allocations: 296.6 kB / 0.932 GB, free: 13.49 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.322e-05/0.9379, allocations: 38.38 kB / 0.932 GB, free: 13.49 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008973/0.9389, allocations: 458.2 kB / 0.9324 GB, free: 13.42 MB / 0.573 GB Notification: Performance of pre-optimization done (n=80): time 4.328e-06/0.9389, allocations: 1.203 kB / 0.9324 GB, free: 13.42 MB / 0.573 GB Notification: Performance of matching and sorting (n=80): time 0.003473/0.9424, allocations: 1.155 MB / 0.9336 GB, free: 13.21 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.9425, allocations: 193.7 kB / 0.9338 GB, free: 12.99 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009042/0.9434, allocations: 0.6292 MB / 0.9344 GB, free: 12.86 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.942e-05/0.9435, allocations: 39.8 kB / 0.9344 GB, free: 12.83 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.9438, allocations: 410.3 kB / 0.9348 GB, free: 12.63 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.944, allocations: 271.3 kB / 0.9351 GB, free: 12.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.9443, allocations: 166.4 kB / 0.9352 GB, free: 12.44 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.9445, allocations: 388.1 kB / 0.9356 GB, free: 12.12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.9449, allocations: 262.6 kB / 0.9358 GB, free: 12.12 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.9455, allocations: 354.5 kB / 0.9362 GB, free: 12.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.9465, allocations: 0.6102 MB / 0.9368 GB, free: 12.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9466, allocations: 3.406 kB / 0.9368 GB, free: 12.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001934/0.9485, allocations: 0.8432 MB / 0.9376 GB, free: 11.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.9485, allocations: 5.562 kB / 0.9376 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9485, allocations: 2.594 kB / 0.9376 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.9491, allocations: 88.56 kB / 0.9377 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.9498, allocations: 170.7 kB / 0.9379 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.9518, allocations: 1.514 MB / 0.9393 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/0.9526, allocations: 85.36 kB / 0.9394 GB, free: 10.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.9526, allocations: 41.08 kB / 0.9395 GB, free: 10.56 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (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.0004976/0.9532, allocations: 261.5 kB / 0.9397 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.9533, allocations: 91.38 kB / 0.9398 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.9557, allocations: 1.089 MB / 0.9409 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.9557, allocations: 10.72 kB / 0.9409 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9557, allocations: 0 / 0.9409 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.9557, allocations: 4.828 kB / 0.9409 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.9589, allocations: 2.004 MB / 0.9428 GB, free: 9.887 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9589, allocations: 4 kB / 0.9428 GB, free: 9.883 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/0.9595, allocations: 161.5 kB / 0.943 GB, free: 9.883 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.9601, allocations: 82.66 kB / 0.9431 GB, free: 9.871 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.9601, allocations: 24.16 kB / 0.9431 GB, free: 9.871 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.9619, allocations: 1.55 MB / 0.9446 GB, free: 8.57 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9619, allocations: 0 / 0.9446 GB, free: 8.57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.9649, allocations: 2.017 MB / 0.9466 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.9653, allocations: 269.9 kB / 0.9468 GB, free: 7.594 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.9654, allocations: 16.5 kB / 0.9468 GB, free: 7.594 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.966, allocations: 53.25 kB / 0.9469 GB, free: 7.594 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.9662, allocations: 70.22 kB / 0.947 GB, free: 7.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.675e-05/0.9663, allocations: 33.47 kB / 0.947 GB, free: 7.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005944/0.9669, allocations: 464.1 kB / 0.9474 GB, free: 7.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9669, allocations: 0 / 0.9474 GB, free: 7.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001083/0.968, allocations: 338.8 kB / 0.9478 GB, free: 7.438 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 (94): * Single equations (assignments): 91 * 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.001403/0.9694, allocations: 0.6201 MB / 0.9484 GB, free: 7.215 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.9711, allocations: 0.8137 MB / 0.9492 GB, free: 7.078 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9711, allocations: 0 / 0.9492 GB, free: 7.078 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.9719, allocations: 0.517 MB / 0.9497 GB, free: 6.957 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.9732, allocations: 271 kB / 0.9499 GB, free: 6.938 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.9781, allocations: 2.739 MB / 0.9526 GB, free: 5.594 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.9787, allocations: 1.062 MB / 0.9536 GB, free: 4.879 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009917/0.9797, allocations: 263.6 kB / 0.9539 GB, free: 4.805 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.98, allocations: 112.8 kB / 0.954 GB, free: 4.793 MB / 0.573 GB Notification: Performance of SimCode: time 7.91e-07/0.98, allocations: 0 / 0.954 GB, free: 4.793 MB / 0.573 GB Notification: Performance of Templates: time 0.02547/1.005, allocations: 14.79 MB / 0.9684 GB, free: 13.72 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)