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.001438/0.001438, allocations: 107 kB / 16.27 MB, free: 5.992 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.001431/0.001432, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002377/0.002377, allocations: 280.9 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 169.3 MB / 0.4988 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 98.86 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1957, allocations: 86.97 MB / 0.6808 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007227/0.2029, allocations: 4.272 MB / 0.685 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5716/0.7745, allocations: 150.5 MB / 0.832 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.7756, allocations: 19.88 kB / 0.832 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008263/0.7765, allocations: 177.4 kB / 0.8322 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.7788, allocations: 499.5 kB / 0.8327 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.7813, allocations: 0.8163 MB / 0.8335 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.7831, allocations: 1.273 MB / 0.8347 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.7842, allocations: 0.614 MB / 0.8353 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.785, allocations: 458.4 kB / 0.8358 GB, free: 200 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007824/0.7858, allocations: 493.8 kB / 0.8362 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.7861, allocations: 112 kB / 0.8363 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.7873, allocations: 459.6 kB / 0.8368 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003577/0.7877, allocations: 287.1 kB / 0.8371 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006948/0.7884, allocations: 0.5324 MB / 0.8376 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.7907, allocations: 1.545 MB / 0.8391 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7907, allocations: 0 / 0.8391 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7907, allocations: 0 / 0.8391 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.06e-05/0.7908, allocations: 0 / 0.8391 GB, free: 12.79 MB / 0.6075 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.003248/0.794, allocations: 1.396 MB / 0.8404 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7941, allocations: 12.03 kB / 0.8405 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.7951, allocations: 183.4 kB / 0.8406 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.7963, allocations: 0.7348 MB / 0.8413 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.7964, allocations: 62.62 kB / 0.8414 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.7965, allocations: 80 kB / 0.8415 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.7982, allocations: 0.9066 MB / 0.8424 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.7982, allocations: 3.984 kB / 0.8424 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/0.7983, allocations: 39.75 kB / 0.8424 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.7983, allocations: 20 kB / 0.8424 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.8002, allocations: 1.093 MB / 0.8435 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.8042, allocations: 2.467 MB / 0.8459 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.8058, allocations: 0.8609 MB / 0.8467 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.8063, allocations: 303.8 kB / 0.847 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.901e-05/0.8064, allocations: 32.59 kB / 0.8471 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008891/0.8073, allocations: 491.1 kB / 0.8475 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 1.994e-06/0.8073, allocations: 0 / 0.8475 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.003085/0.8104, allocations: 1.17 MB / 0.8487 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.8105, allocations: 196.6 kB / 0.8489 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.8114, allocations: 0.6137 MB / 0.8495 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.8114, allocations: 41.7 kB / 0.8495 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.8118, allocations: 392.3 kB / 0.8499 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.812, allocations: 256.4 kB / 0.8501 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.8123, allocations: 166.4 kB / 0.8503 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8124, allocations: 386.8 kB / 0.8507 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.813, allocations: 257.8 kB / 0.8509 GB, free: 352 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/0.8136, allocations: 367 kB / 0.8512 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.8147, allocations: 0.5994 MB / 0.8518 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8147, allocations: 0 / 0.8518 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001931/0.8167, allocations: 0.8254 MB / 0.8526 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.8167, allocations: 12.08 kB / 0.8527 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8167, allocations: 4 kB / 0.8527 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/0.8173, allocations: 80.78 kB / 0.8527 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.818, allocations: 164.4 kB / 0.8529 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.8201, allocations: 1.628 MB / 0.8545 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.8208, allocations: 91.27 kB / 0.8546 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.8209, allocations: 31.97 kB / 0.8546 GB, free: 12.38 MB / 0.6231 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.0004307/0.8214, allocations: 275.5 kB / 0.8549 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.8216, allocations: 89.06 kB / 0.8549 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.8239, allocations: 1.042 MB / 0.856 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.8239, allocations: 12 kB / 0.856 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.8239, allocations: 0 / 0.856 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.8239, allocations: 3.984 kB / 0.856 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.8271, allocations: 1.91 MB / 0.8578 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.8271, allocations: 0 / 0.8578 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.8276, allocations: 143.7 kB / 0.858 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/0.8281, allocations: 72.78 kB / 0.858 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.8282, allocations: 27.98 kB / 0.8581 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.83, allocations: 1.658 MB / 0.8597 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.83, allocations: 3.938 kB / 0.8597 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.832, allocations: 0.9805 MB / 0.8607 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.8324, allocations: 271.8 kB / 0.8609 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.8325, allocations: 23.91 kB / 0.8609 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.8332, allocations: 59.92 kB / 0.861 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.8334, allocations: 68.91 kB / 0.8611 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.8334, allocations: 35.97 kB / 0.8611 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005502/0.834, allocations: 451 kB / 0.8615 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.834, allocations: 7.938 kB / 0.8615 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008692/0.8349, allocations: 303.3 kB / 0.8618 GB, free: 4.707 MB / 0.6231 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.001413/0.8363, allocations: 0.5922 MB / 0.8624 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.8386, allocations: 1.027 MB / 0.8634 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8386, allocations: 0 / 0.8634 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009203/0.8395, allocations: 0.508 MB / 0.8639 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.8407, allocations: 297.5 kB / 0.8642 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.8446, allocations: 1.776 MB / 0.8659 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.8452, allocations: 1.012 MB / 0.8669 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.8456, allocations: 119.3 kB / 0.867 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.8456, allocations: 0 / 0.867 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.02732/0.8729, allocations: 18.09 MB / 0.8847 GB, free: 13.51 MB / 0.6544 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)