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.7385/0.7385, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 183.5 kB / 187.3 MB, free: 11.88 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.306/1.306, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0007748/0.0007748, allocations: 89.97 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 270.4 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.568e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3754, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.4878, allocations: 111.2 MB / 0.8729 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.488, allocations: 82.89 kB / 0.873 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0177/0.5057, allocations: 6.316 MB / 0.8792 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.542e-06/0.5058, allocations: 0 / 0.8792 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.5058, allocations: 4 kB / 0.8792 GB, free: 7.004 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.0005839/0.5064, allocations: 0.5055 MB / 0.8797 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5064, allocations: 8.031 kB / 0.8797 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.5065, allocations: 54.48 kB / 0.8797 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.5065, allocations: 19.72 kB / 0.8797 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.5068, allocations: 210.7 kB / 0.8799 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5068, allocations: 4 kB / 0.8799 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.5068, allocations: 15.98 kB / 0.88 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.5071, allocations: 220 kB / 0.8802 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5072, allocations: 0 / 0.8802 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.5072, allocations: 7.984 kB / 0.8802 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-05/0.5073, allocations: 39.97 kB / 0.8802 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.5075, allocations: 144.3 kB / 0.8803 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.5084, allocations: 0.5398 MB / 0.8809 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.5086, allocations: 78.59 kB / 0.8809 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.5087, allocations: 48.89 kB / 0.881 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5087, allocations: 4 kB / 0.881 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5088, allocations: 38.5 kB / 0.881 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.5088, allocations: 0 / 0.881 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0003586/0.5091, allocations: 141.3 kB / 0.8812 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.5092, allocations: 51.41 kB / 0.8812 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.5094, allocations: 215 kB / 0.8814 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.5095, allocations: 29.7 kB / 0.8815 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5096, allocations: 143.9 kB / 0.8816 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.5096, allocations: 31.7 kB / 0.8816 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-06/0.5096, allocations: 0 / 0.8816 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5098, allocations: 334.8 kB / 0.8819 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.5099, allocations: 51.91 kB / 0.882 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.51, allocations: 88.19 kB / 0.8821 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.5101, allocations: 63.89 kB / 0.8821 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5101, allocations: 0 / 0.8821 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000266/0.5104, allocations: 177.2 kB / 0.8823 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5104, allocations: 8 kB / 0.8823 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5105, allocations: 0 / 0.8823 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5105, allocations: 4 kB / 0.8823 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5106, allocations: 15.98 kB / 0.8823 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.5106, allocations: 6.266 kB / 0.8823 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.5107, allocations: 19.81 kB / 0.8824 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.5108, allocations: 15.98 kB / 0.8824 GB, free: 3.477 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.95e-05/0.5109, allocations: 110.2 kB / 0.8825 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.5109, allocations: 15.83 kB / 0.8825 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.5113, allocations: 178.9 kB / 0.8827 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.5113, allocations: 7.984 kB / 0.8827 GB, free: 3.156 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5113, allocations: 0 / 0.8827 GB, free: 3.156 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.5113, allocations: 4 kB / 0.8827 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.5117, allocations: 245.5 kB / 0.8829 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5117, allocations: 3.984 kB / 0.8829 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.5118, allocations: 8 kB / 0.8829 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.5118, allocations: 7.953 kB / 0.8829 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.5118, allocations: 0 / 0.8829 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5118, allocations: 0 / 0.8829 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5118, allocations: 0 / 0.8829 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.5121, allocations: 263.2 kB / 0.8832 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.5122, allocations: 96.86 kB / 0.8833 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.5123, allocations: 7.938 kB / 0.8833 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.5124, allocations: 0 / 0.8833 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.5124, allocations: 8 kB / 0.8833 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5124, allocations: 11.98 kB / 0.8833 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001696/0.5126, allocations: 185 kB / 0.8835 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5126, allocations: 0 / 0.8835 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009393/0.5135, allocations: 255.7 kB / 0.8837 GB, free: 2 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.0009537/0.5145, allocations: 0.9617 MB / 0.8847 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.5148, allocations: 120.1 kB / 0.8848 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5148, allocations: 4 kB / 0.8848 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.5149, allocations: 79.81 kB / 0.8848 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.5151, allocations: 16.88 kB / 0.8849 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.5158, allocations: 415.6 kB / 0.8853 GB, free: 360 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5161, allocations: 0.7593 MB / 0.886 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.5163, allocations: 37.19 kB / 0.886 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.5164, allocations: 63.41 kB / 0.8861 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of SimCode: time 2.6e-07/0.5164, allocations: 0 / 0.8861 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.5327, allocations: 5.762 MB / 0.8917 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.533, allocations: 204.3 kB / 0.8919 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.164, allocations: 0 / 0.8919 GB, free: 9.695 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)