Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 109 kB / 16.41 MB, free: 6.516 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.001291/0.001291, allocations: 188 kB / 17.34 MB, free: 5.738 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002522, allocations: 292.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9921/0.9921, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4887, allocations: 86.99 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002521/0.4912, allocations: 1.319 MB / 0.7683 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.4931, allocations: 1.08 MB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.4931, allocations: 8 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.4932, allocations: 11.91 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.4944, allocations: 489.4 kB / 0.7699 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.614e-05/0.4944, allocations: 4 kB / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.4946, allocations: 99.7 kB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.4946, allocations: 4.188 kB / 0.77 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.4947, allocations: 51.81 kB / 0.77 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.4948, allocations: 47.83 kB / 0.7701 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.4948, allocations: 8 kB / 0.7701 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007636/0.4956, allocations: 0.5577 MB / 0.7706 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.4957, allocations: 77.53 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.4957, allocations: 75.3 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007069/0.4964, allocations: 0.5819 MB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4964, allocations: 0 / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4965, allocations: 3.938 kB / 0.7714 GB, free: 15.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.4965, allocations: 0 / 0.7714 GB, free: 15.49 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007376/0.4972, allocations: 0.5734 MB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4972, allocations: 8.031 kB / 0.7719 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.4973, allocations: 24.75 kB / 0.7719 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4976, allocations: 243.8 kB / 0.7722 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4976, allocations: 4.359 kB / 0.7722 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.4976, allocations: 8.125 kB / 0.7722 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.498, allocations: 308.9 kB / 0.7725 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.498, allocations: 0 / 0.7725 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.498, allocations: 0 / 0.7725 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.4982, allocations: 83.92 kB / 0.7726 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.4985, allocations: 252.4 kB / 0.7728 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.4999, allocations: 0.6261 MB / 0.7734 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.5001, allocations: 154.7 kB / 0.7736 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5003, allocations: 141.1 kB / 0.7737 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.5003, allocations: 0 / 0.7737 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.5003, allocations: 30.56 kB / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.072e-06/0.5003, allocations: 0 / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0008452/0.5012, allocations: 0.5362 MB / 0.7743 GB, free: 12.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.5012, allocations: 81.11 kB / 0.7743 GB, free: 12.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.5016, allocations: 294.5 kB / 0.7746 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.5016, allocations: 29.69 kB / 0.7746 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.5017, allocations: 136.7 kB / 0.7748 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5018, allocations: 107 kB / 0.7749 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.5019, allocations: 41.67 kB / 0.7749 GB, free: 11.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.502, allocations: 342.8 kB / 0.7752 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.5022, allocations: 135.9 kB / 0.7754 GB, free: 11.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.5024, allocations: 132.5 kB / 0.7755 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.5028, allocations: 377.5 kB / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5028, allocations: 0 / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004844/0.5033, allocations: 391.3 kB / 0.7762 GB, free: 10.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.5033, allocations: 36.05 kB / 0.7763 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5033, allocations: 0 / 0.7763 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.5033, allocations: 0 / 0.7763 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.5034, allocations: 4 kB / 0.7763 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.5034, allocations: 3.938 kB / 0.7763 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.5034, allocations: 27.72 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.5035, allocations: 12.12 kB / 0.7763 GB, free: 10.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.5036, allocations: 179.5 kB / 0.7765 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.5037, allocations: 27.8 kB / 0.7765 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.5037, allocations: 22.95 kB / 0.7765 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-05/0.5038, allocations: 43.91 kB / 0.7766 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.5038, allocations: 3.938 kB / 0.7766 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5038, allocations: 3.938 kB / 0.7766 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/0.5046, allocations: 297.4 kB / 0.7769 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5046, allocations: 4 kB / 0.7769 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.5046, allocations: 4 kB / 0.7769 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5046, allocations: 0 / 0.7769 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.5046, allocations: 7.984 kB / 0.7769 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5046, allocations: 0 / 0.7769 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5046, allocations: 3.938 kB / 0.7769 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.5051, allocations: 498.4 kB / 0.7774 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5053, allocations: 112.8 kB / 0.7775 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.5053, allocations: 0 / 0.7775 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.5053, allocations: 4 kB / 0.7775 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.5054, allocations: 11.92 kB / 0.7775 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.5054, allocations: 12 kB / 0.7775 GB, free: 8.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002319/0.5056, allocations: 217.9 kB / 0.7777 GB, free: 8.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5056, allocations: 0 / 0.7777 GB, free: 8.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005658/0.5062, allocations: 167.7 kB / 0.7779 GB, free: 8.461 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 1 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004873/0.5067, allocations: 210.9 kB / 0.7781 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.5072, allocations: 367.1 kB / 0.7784 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5072, allocations: 0 / 0.7784 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.5074, allocations: 211.3 kB / 0.7786 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5077, allocations: 9.312 kB / 0.7786 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.5086, allocations: 0.5819 MB / 0.7792 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.509, allocations: 0.7754 MB / 0.7799 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.796e-05/0.5091, allocations: 41.08 kB / 0.78 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.5092, allocations: 23.38 kB / 0.78 GB, free: 6.172 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.5092, allocations: 4 kB / 0.78 GB, free: 6.168 MB / 0.545 GB Notification: Performance of Templates: time 0.007798/0.517, allocations: 3.659 MB / 0.7836 GB, free: 2.512 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)