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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005446/0.005446, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001208/0.001208, allocations: 191.2 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.274/1.274, allocations: 222.9 MB / 240.4 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.002187/0.002187, allocations: 297.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9239/0.9239, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5187, allocations: 86.97 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002607/0.5214, allocations: 1.385 MB / 0.7673 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.5236, allocations: 1.331 MB / 0.7686 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.5237, allocations: 4 kB / 0.7686 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.5239, allocations: 11.86 kB / 0.7686 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.5255, allocations: 0.6026 MB / 0.7692 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.406e-05/0.5255, allocations: 0 / 0.7692 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.5257, allocations: 123.6 kB / 0.7693 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.506e-05/0.5258, allocations: 7.984 kB / 0.7693 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.5259, allocations: 63.75 kB / 0.7693 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.5261, allocations: 83.66 kB / 0.7694 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.5261, allocations: 4 kB / 0.7694 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.5272, allocations: 0.7098 MB / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.5274, allocations: 67.72 kB / 0.7702 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.5275, allocations: 67.53 kB / 0.7702 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.5285, allocations: 0.7004 MB / 0.7709 GB, free: 14.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5286, allocations: 0 / 0.7709 GB, free: 14.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5286, allocations: 0 / 0.7709 GB, free: 14.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.5286, allocations: 0 / 0.7709 GB, free: 14.7 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007534/0.5293, allocations: 0.5171 MB / 0.7714 GB, free: 14.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5294, allocations: 8.031 kB / 0.7714 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.5295, allocations: 50.73 kB / 0.7715 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.5295, allocations: 20.66 kB / 0.7715 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.5297, allocations: 204.1 kB / 0.7717 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5298, allocations: 12.31 kB / 0.7717 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.5298, allocations: 12.36 kB / 0.7717 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.5301, allocations: 226.8 kB / 0.7719 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5302, allocations: 0 / 0.7719 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.5302, allocations: 7.922 kB / 0.772 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.535e-05/0.5303, allocations: 59.94 kB / 0.772 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.5305, allocations: 164.2 kB / 0.7722 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.5315, allocations: 0.5434 MB / 0.7727 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.5318, allocations: 86.53 kB / 0.7728 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.5319, allocations: 44.83 kB / 0.7728 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.532, allocations: 7.938 kB / 0.7728 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.532, allocations: 34.56 kB / 0.7729 GB, free: 12.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.532, allocations: 0 / 0.7729 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003816/0.5324, allocations: 165.4 kB / 0.773 GB, free: 12.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5324, allocations: 59.41 kB / 0.7731 GB, free: 12.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.5327, allocations: 248 kB / 0.7733 GB, free: 12.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.5327, allocations: 29.7 kB / 0.7733 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5328, allocations: 143.9 kB / 0.7735 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.5328, allocations: 31.55 kB / 0.7735 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.5329, allocations: 33.7 kB / 0.7735 GB, free: 11.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.533, allocations: 330.8 kB / 0.7739 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.5331, allocations: 47.97 kB / 0.7739 GB, free: 11.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.988e-05/0.5332, allocations: 80.31 kB / 0.774 GB, free: 11.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.5334, allocations: 140.2 kB / 0.7741 GB, free: 11.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5334, allocations: 4 kB / 0.7741 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002854/0.5337, allocations: 181.2 kB / 0.7743 GB, free: 11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.5338, allocations: 10.33 kB / 0.7743 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5338, allocations: 7.938 kB / 0.7743 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5338, allocations: 0 / 0.7743 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.534, allocations: 23.92 kB / 0.7743 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.534, allocations: 0 / 0.7743 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.5341, allocations: 23.75 kB / 0.7744 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.5341, allocations: 8.125 kB / 0.7744 GB, free: 10.93 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.5343, allocations: 136.2 kB / 0.7745 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.5343, allocations: 19.75 kB / 0.7745 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.5346, allocations: 182.9 kB / 0.7747 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.5347, allocations: 7.984 kB / 0.7747 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5347, allocations: 0 / 0.7747 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5347, allocations: 0 / 0.7747 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.535, allocations: 249.5 kB / 0.7749 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.535, allocations: 7.922 kB / 0.7749 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.5351, allocations: 8 kB / 0.7749 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5351, allocations: 4 kB / 0.775 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.5352, allocations: 0 / 0.775 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5352, allocations: 0 / 0.775 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5352, allocations: 0 / 0.775 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.5355, allocations: 259.2 kB / 0.7752 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.5356, allocations: 104.8 kB / 0.7753 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.5356, allocations: 0 / 0.7753 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.5357, allocations: 0 / 0.7753 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.5357, allocations: 15.97 kB / 0.7753 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.5358, allocations: 8 kB / 0.7753 GB, free: 9.848 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000173/0.5359, allocations: 188.9 kB / 0.7755 GB, free: 9.664 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.536, allocations: 4 kB / 0.7755 GB, free: 9.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006752/0.5366, allocations: 211.9 kB / 0.7757 GB, free: 9.453 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.001117/0.5378, allocations: 0.9269 MB / 0.7766 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.5382, allocations: 131.8 kB / 0.7767 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5382, allocations: 0 / 0.7767 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.5383, allocations: 71.88 kB / 0.7768 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.5386, allocations: 13.14 kB / 0.7768 GB, free: 8.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.5416, allocations: 2.389 MB / 0.7792 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.542, allocations: 0.7513 MB / 0.7799 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.5421, allocations: 41.41 kB / 0.7799 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.5422, allocations: 59.42 kB / 0.78 GB, free: 4.922 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/0.5422, allocations: 0 / 0.78 GB, free: 4.922 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.5658, allocations: 6.081 MB / 0.7859 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.373, allocations: 2.547 kB / 0.7859 GB, free: 15.02 MB / 0.5606 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/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)