Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 387.1 MB / 399.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 176.9 kB / 492.3 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 102.5 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.363e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3653, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.776/5.141, allocations: 1.733 GB / 2.946 GB, free: 132 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/5.142, allocations: 84.89 kB / 2.946 GB, free: 131.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1874/5.329, allocations: 84.1 MB / 3.028 GB, free: 47.49 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.623e-06/5.329, allocations: 4 kB / 3.028 GB, free: 47.48 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000174/5.329, allocations: 28 kB / 3.028 GB, free: 47.46 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004655/5.334, allocations: 1.319 MB / 3.029 GB, free: 46.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.775e-05/5.334, allocations: 12.03 kB / 3.029 GB, free: 46.07 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007231/5.335, allocations: 185.9 kB / 3.029 GB, free: 45.88 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/5.336, allocations: 230 kB / 3.03 GB, free: 45.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/5.339, allocations: 0.7483 MB / 3.03 GB, free: 44.87 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/5.339, allocations: 120.2 kB / 3.03 GB, free: 44.74 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/5.339, allocations: 124 kB / 3.031 GB, free: 44.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/5.342, allocations: 1.223 MB / 3.032 GB, free: 43.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/5.342, allocations: 0 / 3.032 GB, free: 43.34 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/5.342, allocations: 63.94 kB / 3.032 GB, free: 43.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/5.343, allocations: 28 kB / 3.032 GB, free: 43.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/5.345, allocations: 1.337 MB / 3.033 GB, free: 41.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006296/5.351, allocations: 3.555 MB / 3.037 GB, free: 38.27 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/5.352, allocations: 0.8773 MB / 3.037 GB, free: 37.38 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/5.353, allocations: 347.2 kB / 3.038 GB, free: 37.04 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/5.353, allocations: 44.7 kB / 3.038 GB, free: 37 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007729/5.354, allocations: 0.5092 MB / 3.038 GB, free: 36.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 4.048e-06/5.354, allocations: 3.938 kB / 3.038 GB, free: 36.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.002046/5.356, allocations: 0.8826 MB / 3.039 GB, free: 35.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/5.356, allocations: 245.1 kB / 3.039 GB, free: 35.27 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/5.357, allocations: 0.6997 MB / 3.04 GB, free: 34.57 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.821e-05/5.357, allocations: 41.7 kB / 3.04 GB, free: 34.52 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/5.358, allocations: 0.5115 MB / 3.041 GB, free: 34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/5.358, allocations: 307.5 kB / 3.041 GB, free: 33.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/5.358, allocations: 20 kB / 3.041 GB, free: 33.68 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/5.358, allocations: 341.9 kB / 3.041 GB, free: 33.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/5.358, allocations: 289.8 kB / 3.042 GB, free: 33.06 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/5.359, allocations: 416.3 kB / 3.042 GB, free: 32.62 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/5.36, allocations: 348.8 kB / 3.042 GB, free: 32.28 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/5.36, allocations: 0 / 3.042 GB, free: 32.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002009/5.362, allocations: 0.9267 MB / 3.043 GB, free: 31.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/5.362, allocations: 11.98 kB / 3.043 GB, free: 31.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/5.362, allocations: 0 / 3.043 GB, free: 31.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/5.362, allocations: 84.84 kB / 3.043 GB, free: 31.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/5.363, allocations: 183.7 kB / 3.043 GB, free: 31.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/5.365, allocations: 1.536 MB / 3.045 GB, free: 29.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/5.366, allocations: 107.2 kB / 3.045 GB, free: 29.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/5.366, allocations: 36.16 kB / 3.045 GB, free: 29.24 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002209/5.366, allocations: 158.3 kB / 3.045 GB, free: 29.08 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/5.366, allocations: 94.88 kB / 3.045 GB, free: 28.99 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/5.369, allocations: 1.27 MB / 3.047 GB, free: 27.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/5.369, allocations: 12 kB / 3.047 GB, free: 27.69 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/5.369, allocations: 0 / 3.047 GB, free: 27.69 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/5.369, allocations: 7.969 kB / 3.047 GB, free: 27.68 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/5.373, allocations: 2.408 MB / 3.049 GB, free: 25.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/5.373, allocations: 0 / 3.049 GB, free: 25.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/5.374, allocations: 187.7 kB / 3.049 GB, free: 25.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/5.374, allocations: 84.78 kB / 3.049 GB, free: 24.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/5.374, allocations: 31.97 kB / 3.049 GB, free: 24.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/5.376, allocations: 1.556 MB / 3.051 GB, free: 23.22 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/5.376, allocations: 3.984 kB / 3.051 GB, free: 23.21 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/5.378, allocations: 1.074 MB / 3.052 GB, free: 22.12 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/5.378, allocations: 355.3 kB / 3.052 GB, free: 21.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/5.379, allocations: 16 kB / 3.052 GB, free: 21.74 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/5.379, allocations: 79.94 kB / 3.052 GB, free: 21.66 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/5.38, allocations: 72.89 kB / 3.052 GB, free: 21.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/5.38, allocations: 39.97 kB / 3.052 GB, free: 21.55 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008606/5.38, allocations: 0.5773 MB / 3.053 GB, free: 20.98 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.38, allocations: 0 / 3.053 GB, free: 20.98 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001437/5.382, allocations: 442.7 kB / 3.053 GB, free: 20.54 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004087/5.386, allocations: 2.55 MB / 3.056 GB, free: 18.12 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001707/5.388, allocations: 0.8859 MB / 3.057 GB, free: 17.23 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/5.388, allocations: 0 / 3.057 GB, free: 17.23 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008465/5.389, allocations: 0.5667 MB / 3.057 GB, free: 16.64 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/5.39, allocations: 253.8 kB / 3.057 GB, free: 16.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/5.396, allocations: 1.973 MB / 3.059 GB, free: 14.39 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/5.397, allocations: 1.154 MB / 3.061 GB, free: 13.21 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001244/5.398, allocations: 287.7 kB / 3.061 GB, free: 12.92 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007743/5.399, allocations: 499.2 kB / 3.061 GB, free: 12.43 MB / 1.151 GB Notification: Performance of SimCode: time 1.543e-06/5.399, allocations: 0 / 3.061 GB, free: 12.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7851/6.184, allocations: 36.02 MB / 3.096 GB, free: 380.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/6.184, allocations: 252.1 kB / 3.097 GB, free: 379.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/9.526, allocations: 0 / 3.097 GB, free: 379.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat