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: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004922/0.004922, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001157/0.001157, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 298.4 kB / 290.8 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.9303/0.9303, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 103.8 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4544, allocations: 86.97 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002641/0.4571, allocations: 1.327 MB / 0.7672 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.4589, allocations: 1.073 MB / 0.7682 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.459, allocations: 4 kB / 0.7682 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.4591, allocations: 15.86 kB / 0.7683 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.4605, allocations: 493.4 kB / 0.7687 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.102e-05/0.4606, allocations: 3.984 kB / 0.7687 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.4608, allocations: 103.7 kB / 0.7688 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.4609, allocations: 8.172 kB / 0.7688 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.461, allocations: 35.91 kB / 0.7689 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.4611, allocations: 55.8 kB / 0.7689 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.4611, allocations: 8 kB / 0.7689 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.4621, allocations: 0.5577 MB / 0.7695 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.4622, allocations: 77.52 kB / 0.7695 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.4623, allocations: 75.34 kB / 0.7696 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008497/0.4631, allocations: 0.5717 MB / 0.7702 GB, free: 15.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.4632, allocations: 0 / 0.7702 GB, free: 15.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4632, allocations: 0 / 0.7702 GB, free: 15.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4632, allocations: 0 / 0.7702 GB, free: 15.44 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.0007084/0.4639, allocations: 0.5587 MB / 0.7707 GB, free: 14.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4639, allocations: 8.031 kB / 0.7707 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.464, allocations: 58.7 kB / 0.7708 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.4641, allocations: 24.66 kB / 0.7708 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.4643, allocations: 239.7 kB / 0.771 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4643, allocations: 8.359 kB / 0.771 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.4644, allocations: 11.88 kB / 0.7711 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.4647, allocations: 312.8 kB / 0.7714 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.4648, allocations: 0 / 0.7714 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4648, allocations: 0 / 0.7714 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.4649, allocations: 83.92 kB / 0.7714 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.4652, allocations: 248.4 kB / 0.7717 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.4665, allocations: 0.6259 MB / 0.7723 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.4668, allocations: 182.8 kB / 0.7725 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.467, allocations: 165.1 kB / 0.7726 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.467, allocations: 0 / 0.7726 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.4671, allocations: 34.56 kB / 0.7726 GB, free: 12.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.4671, allocations: 0 / 0.7726 GB, free: 12.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0008266/0.4679, allocations: 0.5361 MB / 0.7732 GB, free: 12.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.468, allocations: 81.05 kB / 0.7732 GB, free: 12.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.4683, allocations: 290.6 kB / 0.7735 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4683, allocations: 25.7 kB / 0.7736 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.4684, allocations: 132.8 kB / 0.7737 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/0.4685, allocations: 110.3 kB / 0.7738 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.4685, allocations: 45.67 kB / 0.7738 GB, free: 11.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4687, allocations: 338.8 kB / 0.7741 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4689, allocations: 135.9 kB / 0.7743 GB, free: 11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.469, allocations: 140.5 kB / 0.7744 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.4694, allocations: 381.5 kB / 0.7748 GB, free: 10.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4694, allocations: 0 / 0.7748 GB, free: 10.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000434/0.4699, allocations: 387.2 kB / 0.7751 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.4699, allocations: 36.3 kB / 0.7752 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4699, allocations: 0 / 0.7752 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4699, allocations: 0 / 0.7752 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.47, allocations: 4 kB / 0.7752 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.47, allocations: 3.938 kB / 0.7752 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.4701, allocations: 23.69 kB / 0.7752 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.4701, allocations: 15.98 kB / 0.7752 GB, free: 10 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.0001487/0.4703, allocations: 177.9 kB / 0.7754 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.4703, allocations: 23.62 kB / 0.7754 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.4704, allocations: 22.95 kB / 0.7754 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-05/0.4704, allocations: 39.97 kB / 0.7755 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4704, allocations: 3.938 kB / 0.7755 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4704, allocations: 0 / 0.7755 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.471, allocations: 297.4 kB / 0.7758 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.471, allocations: 4 kB / 0.7758 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.4711, allocations: 3.938 kB / 0.7758 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4711, allocations: 0 / 0.7758 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.4711, allocations: 4 kB / 0.7758 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4711, allocations: 7.922 kB / 0.7758 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4711, allocations: 3.938 kB / 0.7758 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.4716, allocations: 494.3 kB / 0.7763 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.4717, allocations: 108.8 kB / 0.7764 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4717, allocations: 4 kB / 0.7764 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.4718, allocations: 0 / 0.7764 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.4718, allocations: 11.92 kB / 0.7764 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.4719, allocations: 12 kB / 0.7764 GB, free: 8.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002193/0.4721, allocations: 217.9 kB / 0.7766 GB, free: 8.488 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4721, allocations: 0 / 0.7766 GB, free: 8.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005942/0.4727, allocations: 164 kB / 0.7768 GB, free: 8.328 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.001281/0.474, allocations: 1.137 MB / 0.7779 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.4745, allocations: 391.1 kB / 0.7782 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4745, allocations: 0 / 0.7782 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.4747, allocations: 239.2 kB / 0.7785 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.475, allocations: 17.25 kB / 0.7785 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.4792, allocations: 3.621 MB / 0.782 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4796, allocations: 0.7797 MB / 0.7828 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.4797, allocations: 41.08 kB / 0.7828 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.4798, allocations: 75.41 kB / 0.7829 GB, free: 1.867 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/0.4799, allocations: 0 / 0.7829 GB, free: 1.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.504, allocations: 6.541 MB / 0.7893 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.49, allocations: 19.8 kB / 0.7893 GB, free: 11.46 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_TetraederSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1)