Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9538/0.9538, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 172.6 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009633, allocations: 94.09 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 275 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.096e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.439, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.588, allocations: 110.5 MB / 0.8654 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.5883, allocations: 75.95 kB / 0.8654 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01941/0.6077, allocations: 6.294 MB / 0.8716 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6078, allocations: 0 / 0.8716 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.6078, allocations: 0 / 0.8716 GB, free: 10.9 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006441/0.6084, allocations: 0.5016 MB / 0.8721 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6085, allocations: 8.031 kB / 0.8721 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.6085, allocations: 19.72 kB / 0.8721 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.6088, allocations: 226.6 kB / 0.8723 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.6088, allocations: 0 / 0.8723 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.6088, allocations: 8 kB / 0.8723 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002544/0.6091, allocations: 168.2 kB / 0.8725 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.6094, allocations: 207 kB / 0.8727 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6094, allocations: 0 / 0.8727 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.6094, allocations: 0 / 0.8727 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.207e-05/0.6095, allocations: 39.97 kB / 0.8727 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.6104, allocations: 485.2 kB / 0.8732 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.6106, allocations: 86.48 kB / 0.8733 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.6107, allocations: 48.88 kB / 0.8733 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.6107, allocations: 4 kB / 0.8733 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.6107, allocations: 34.56 kB / 0.8733 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.6107, allocations: 0 / 0.8733 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.000302/0.6111, allocations: 121.5 kB / 0.8735 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.6111, allocations: 51.41 kB / 0.8735 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.6113, allocations: 154.9 kB / 0.8737 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.6113, allocations: 25.7 kB / 0.8737 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.6114, allocations: 155.7 kB / 0.8738 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.6114, allocations: 27.64 kB / 0.8739 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.6115, allocations: 4 kB / 0.8739 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6116, allocations: 318.8 kB / 0.8742 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.6117, allocations: 51.91 kB / 0.8742 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.6118, allocations: 80.27 kB / 0.8743 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.6119, allocations: 59.89 kB / 0.8743 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6119, allocations: 4 kB / 0.8744 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002527/0.6122, allocations: 165.3 kB / 0.8745 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6122, allocations: 11.95 kB / 0.8745 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6122, allocations: 3.938 kB / 0.8745 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6122, allocations: 4 kB / 0.8745 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.6124, allocations: 15.98 kB / 0.8745 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6124, allocations: 4.125 kB / 0.8745 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.6125, allocations: 7.906 kB / 0.8746 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.6125, allocations: 12 kB / 0.8746 GB, free: 7.621 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.6126, allocations: 104.9 kB / 0.8747 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002044/0.6128, allocations: 132.9 kB / 0.8748 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.6128, allocations: 11.86 kB / 0.8748 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.6131, allocations: 166 kB / 0.875 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.6132, allocations: 4 kB / 0.875 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6132, allocations: 0 / 0.875 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6132, allocations: 0 / 0.875 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.6135, allocations: 214.2 kB / 0.8752 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6135, allocations: 0 / 0.8752 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.6136, allocations: 12 kB / 0.8752 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.6136, allocations: 3.953 kB / 0.8752 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.6136, allocations: 7.984 kB / 0.8752 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6136, allocations: 0 / 0.8752 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6136, allocations: 0 / 0.8752 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.6139, allocations: 243.2 kB / 0.8754 GB, free: 6.676 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.614, allocations: 88.94 kB / 0.8755 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.614, allocations: 7.953 kB / 0.8755 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.225e-05/0.6141, allocations: 4 kB / 0.8755 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.6141, allocations: 8.109 kB / 0.8755 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.6142, allocations: 12 kB / 0.8755 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.206e-05/0.6142, allocations: 115.3 kB / 0.8757 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6143, allocations: 0 / 0.8757 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008108/0.6151, allocations: 267.4 kB / 0.8759 GB, free: 6.164 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009904/0.6161, allocations: 0.9483 MB / 0.8768 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.6163, allocations: 123.9 kB / 0.877 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6163, allocations: 256 / 0.877 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.6164, allocations: 71.89 kB / 0.877 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.6166, allocations: 7.953 kB / 0.877 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.6174, allocations: 407.5 kB / 0.8774 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.6177, allocations: 0.747 MB / 0.8781 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.6179, allocations: 40.47 kB / 0.8782 GB, free: 3.742 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.618, allocations: 59.41 kB / 0.8782 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.618, allocations: 0 / 0.8782 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.6439, allocations: 4.934 MB / 0.8831 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.6442, allocations: 185.7 kB / 0.8832 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.211, allocations: 3.938 kB / 0.8832 GB, free: 14.59 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_ParallelRectangularEqualSurfaces.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)