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.006949/0.006949, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001425/0.001425, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.446/1.446, 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.002442/0.002442, allocations: 287 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.183/1.183, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 99.84 kB / 0.681 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4027, allocations: 86.98 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002281/0.4051, allocations: 1.323 MB / 0.7672 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.4068, allocations: 1.073 MB / 0.7682 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.4068, allocations: 0 / 0.7682 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.423e-05/0.4069, allocations: 11.92 kB / 0.7683 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.408, allocations: 0.4896 MB / 0.7687 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.305e-05/0.408, allocations: 0 / 0.7687 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.4082, allocations: 103.7 kB / 0.7688 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.4082, allocations: 4.188 kB / 0.7688 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.4083, allocations: 39.84 kB / 0.7689 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.4084, allocations: 55.8 kB / 0.7689 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.4084, allocations: 4 kB / 0.7689 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.4095, allocations: 0.5577 MB / 0.7695 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.4097, allocations: 77.52 kB / 0.7695 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.4098, allocations: 75.36 kB / 0.7696 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009483/0.4108, allocations: 0.5813 MB / 0.7702 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4108, allocations: 0 / 0.7702 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4108, allocations: 3.938 kB / 0.7702 GB, free: 15.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4108, allocations: 0 / 0.7702 GB, free: 15.48 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.0008878/0.4117, allocations: 0.5657 MB / 0.7707 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4118, allocations: 8.031 kB / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.38e-05/0.4118, allocations: 58.7 kB / 0.7708 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.4119, allocations: 28.69 kB / 0.7708 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.4122, allocations: 239.8 kB / 0.7711 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4122, allocations: 12.36 kB / 0.7711 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.4122, allocations: 7.938 kB / 0.7711 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.4126, allocations: 308.9 kB / 0.7714 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4127, allocations: 0 / 0.7714 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4127, allocations: 0 / 0.7714 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.4128, allocations: 83.92 kB / 0.7715 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.4131, allocations: 252.4 kB / 0.7717 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4145, allocations: 0.6222 MB / 0.7723 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.4148, allocations: 190.7 kB / 0.7725 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.415, allocations: 161.1 kB / 0.7726 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.415, allocations: 0 / 0.7726 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.415, allocations: 34.56 kB / 0.7727 GB, free: 12.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.102e-06/0.415, allocations: 0 / 0.7727 GB, free: 12.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0007569/0.4158, allocations: 0.5323 MB / 0.7732 GB, free: 12.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.4158, allocations: 89.03 kB / 0.7733 GB, free: 12.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.4162, allocations: 286.6 kB / 0.7736 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.4162, allocations: 25.7 kB / 0.7736 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.4163, allocations: 140.7 kB / 0.7737 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.4164, allocations: 115 kB / 0.7738 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.4165, allocations: 41.69 kB / 0.7739 GB, free: 11.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4166, allocations: 338.8 kB / 0.7742 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.4168, allocations: 139.8 kB / 0.7743 GB, free: 11.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.417, allocations: 132.5 kB / 0.7744 GB, free: 10.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.4174, allocations: 385.5 kB / 0.7748 GB, free: 10.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4174, allocations: 0 / 0.7748 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00046/0.4179, allocations: 383.3 kB / 0.7752 GB, free: 10.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.4179, allocations: 37.69 kB / 0.7752 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4179, allocations: 0 / 0.7752 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4179, allocations: 0 / 0.7752 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.418, allocations: 8 kB / 0.7752 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.418, allocations: 3.938 kB / 0.7752 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.4181, allocations: 19.78 kB / 0.7752 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.4181, allocations: 8 kB / 0.7753 GB, free: 10.03 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.0001601/0.4183, allocations: 185.9 kB / 0.7754 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.4183, allocations: 27.8 kB / 0.7755 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.4184, allocations: 22.91 kB / 0.7755 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.65e-05/0.4184, allocations: 39.97 kB / 0.7755 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4185, allocations: 3.938 kB / 0.7755 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4185, allocations: 3.984 kB / 0.7755 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.4192, allocations: 297.4 kB / 0.7758 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4192, allocations: 0 / 0.7758 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.4192, allocations: 0 / 0.7758 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4192, allocations: 4 kB / 0.7758 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4192, allocations: 4 kB / 0.7758 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4192, allocations: 0 / 0.7758 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4192, allocations: 3.938 kB / 0.7758 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.4198, allocations: 0.4906 MB / 0.7763 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.4199, allocations: 108.9 kB / 0.7764 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.4199, allocations: 3.984 kB / 0.7764 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.42, allocations: 0 / 0.7764 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.4201, allocations: 11.94 kB / 0.7764 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4201, allocations: 15.94 kB / 0.7764 GB, free: 8.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002241/0.4203, allocations: 217.9 kB / 0.7766 GB, free: 8.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4203, allocations: 0 / 0.7766 GB, free: 8.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006176/0.4209, allocations: 171.7 kB / 0.7768 GB, free: 8.336 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.001222/0.4222, allocations: 1.134 MB / 0.7779 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004853/0.4227, allocations: 387.2 kB / 0.7783 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4227, allocations: 0 / 0.7783 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.4229, allocations: 235.3 kB / 0.7785 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4233, allocations: 17.62 kB / 0.7785 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.4275, allocations: 3.632 MB / 0.7821 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.4279, allocations: 0.7719 MB / 0.7828 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.428, allocations: 49.02 kB / 0.7829 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.4281, allocations: 75.41 kB / 0.7829 GB, free: 1.875 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4281, allocations: 0 / 0.7829 GB, free: 1.875 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2647/0.6929, allocations: 6.542 MB / 0.7893 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.699/9.392, allocations: 7.484 kB / 0.7893 GB, free: 11.48 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)