Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 105.9 kB / 16.4 MB, free: 6.492 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.001319/0.001319, allocations: 191.8 kB / 17.34 MB, free: 5.758 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00257/0.00257, allocations: 286.1 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 1.004/1.004, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002684/0.002684, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4019, allocations: 86.97 MB / 0.7671 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002398/0.4043, allocations: 1.353 MB / 0.7684 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.4064, allocations: 1.335 MB / 0.7697 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.4064, allocations: 0 / 0.7697 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.913e-05/0.4065, allocations: 15.91 kB / 0.7697 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.4078, allocations: 0.587 MB / 0.7703 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 9.257e-06/0.4078, allocations: 0 / 0.7703 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.408, allocations: 103.6 kB / 0.7704 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.408, allocations: 8.234 kB / 0.7704 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4081, allocations: 47.77 kB / 0.7704 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.4082, allocations: 63.8 kB / 0.7705 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.4082, allocations: 11.98 kB / 0.7705 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008959/0.4091, allocations: 0.7098 MB / 0.7712 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.4092, allocations: 55.81 kB / 0.7712 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.4093, allocations: 55.55 kB / 0.7713 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.4101, allocations: 0.6877 MB / 0.772 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4101, allocations: 0 / 0.772 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4101, allocations: 0 / 0.772 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.4101, allocations: 0 / 0.772 GB, free: 15.02 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006122/0.4107, allocations: 0.5056 MB / 0.7725 GB, free: 14.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.4107, allocations: 12.03 kB / 0.7725 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.4108, allocations: 16.84 kB / 0.7725 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.411, allocations: 208.1 kB / 0.7727 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.411, allocations: 4.375 kB / 0.7727 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.411, allocations: 12.36 kB / 0.7727 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.4113, allocations: 206.8 kB / 0.7729 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4114, allocations: 0 / 0.7729 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4114, allocations: 4 kB / 0.7729 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.923e-05/0.4115, allocations: 43.95 kB / 0.7729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.4117, allocations: 144.2 kB / 0.7731 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.4127, allocations: 0.4929 MB / 0.7736 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.4129, allocations: 82.59 kB / 0.7736 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.413, allocations: 52.75 kB / 0.7737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.413, allocations: 0 / 0.7737 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.413, allocations: 38.56 kB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.413, allocations: 3.938 kB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003758/0.4134, allocations: 189.7 kB / 0.7739 GB, free: 12.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4134, allocations: 55.34 kB / 0.774 GB, free: 12.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.4138, allocations: 239.6 kB / 0.7742 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.4138, allocations: 33.69 kB / 0.7742 GB, free: 12.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.4139, allocations: 128.2 kB / 0.7743 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4139, allocations: 27.73 kB / 0.7744 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.414, allocations: 37.66 kB / 0.7744 GB, free: 12.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4142, allocations: 326.8 kB / 0.7747 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.4142, allocations: 47.95 kB / 0.7748 GB, free: 11.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.4143, allocations: 71.39 kB / 0.7748 GB, free: 11.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.4145, allocations: 127.3 kB / 0.775 GB, free: 11.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4145, allocations: 64 / 0.775 GB, free: 11.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002523/0.4148, allocations: 169.4 kB / 0.7751 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4148, allocations: 8 kB / 0.7751 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4148, allocations: 0 / 0.7751 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4148, allocations: 0 / 0.7751 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4149, allocations: 15.98 kB / 0.7751 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4149, allocations: 3.938 kB / 0.7751 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.415, allocations: 23.98 kB / 0.7752 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.415, allocations: 7.938 kB / 0.7752 GB, free: 11.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001117/0.4151, allocations: 132.2 kB / 0.7753 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.4152, allocations: 15.91 kB / 0.7753 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.4155, allocations: 178.9 kB / 0.7755 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.4155, allocations: 11.92 kB / 0.7755 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4155, allocations: 3.938 kB / 0.7755 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4155, allocations: 4.188 kB / 0.7755 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.4158, allocations: 229.5 kB / 0.7757 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4158, allocations: 7.938 kB / 0.7757 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.4159, allocations: 11.98 kB / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4159, allocations: 0 / 0.7757 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4159, allocations: 4 kB / 0.7757 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4159, allocations: 0 / 0.7757 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4159, allocations: 3.938 kB / 0.7757 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.4162, allocations: 259.2 kB / 0.776 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.4163, allocations: 101 kB / 0.7761 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.4163, allocations: 0 / 0.7761 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.4164, allocations: 8 kB / 0.7761 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.4164, allocations: 7.938 kB / 0.7761 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4164, allocations: 7.984 kB / 0.7761 GB, free: 10.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001739/0.4166, allocations: 176.4 kB / 0.7763 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4166, allocations: 0 / 0.7763 GB, free: 10.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005143/0.4171, allocations: 211.7 kB / 0.7765 GB, free: 10.04 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0004853/0.4176, allocations: 246.8 kB / 0.7767 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.4179, allocations: 123.8 kB / 0.7768 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4179, allocations: 0 / 0.7768 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.418, allocations: 75.88 kB / 0.7769 GB, free: 9.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4182, allocations: 12 kB / 0.7769 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.4189, allocations: 346.5 kB / 0.7773 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.4193, allocations: 0.7398 MB / 0.778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.4194, allocations: 41.06 kB / 0.778 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.4195, allocations: 15.44 kB / 0.778 GB, free: 8.395 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.4195, allocations: 0 / 0.778 GB, free: 8.395 MB / 0.545 GB Notification: Performance of Templates: time 0.007596/0.4271, allocations: 3.797 MB / 0.7817 GB, free: 4.637 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)