Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 176.9 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009244/0.0009243, allocations: 101.3 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.621e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1716, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.338/5.509, allocations: 2.194 GB / 3.08 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/5.51, allocations: 88.77 kB / 3.08 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2093/5.719, allocations: 95.25 MB / 3.173 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.953e-06/5.719, allocations: 0 / 3.173 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001526/5.719, allocations: 44 kB / 3.173 GB, free: 116.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.004762/5.724, allocations: 1.856 MB / 3.175 GB, free: 115 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/5.724, allocations: 12.03 kB / 3.175 GB, free: 115 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/5.736, allocations: 1.796 MB / 3.176 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/5.739, allocations: 1.032 MB / 3.177 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/5.739, allocations: 64 kB / 3.177 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007628/5.739, allocations: 104 kB / 3.178 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00535/5.745, allocations: 2.771 MB / 3.18 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/5.75, allocations: 2.084 MB / 3.182 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/5.75, allocations: 0 / 3.182 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003927/5.75, allocations: 4 kB / 3.182 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/5.75, allocations: 48 kB / 3.182 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/5.764, allocations: 5.931 MB / 3.188 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/5.767, allocations: 1.9 MB / 3.19 GB, free: 99.07 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/5.768, allocations: 0.9795 MB / 3.191 GB, free: 98.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/5.769, allocations: 0.5074 MB / 3.191 GB, free: 97.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/5.771, allocations: 1.235 MB / 3.193 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=192): time 6.603e-06/5.771, allocations: 4.031 kB / 3.193 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192): time 0.01185/5.783, allocations: 3.386 MB / 3.196 GB, free: 92.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/5.783, allocations: 253.3 kB / 3.196 GB, free: 92.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/5.784, allocations: 0.653 MB / 3.197 GB, free: 91.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003483/5.785, allocations: 33.7 kB / 3.197 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/5.785, allocations: 0.6332 MB / 3.198 GB, free: 91.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006718/5.786, allocations: 0.5886 MB / 3.198 GB, free: 90.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/5.786, allocations: 4 kB / 3.198 GB, free: 90.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/5.786, allocations: 369.8 kB / 3.198 GB, free: 90.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/5.787, allocations: 0.7499 MB / 3.199 GB, free: 89.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/5.789, allocations: 0.9267 MB / 3.2 GB, free: 88.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008267/5.797, allocations: 2.215 MB / 3.202 GB, free: 86.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/5.797, allocations: 0 / 3.202 GB, free: 86.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.0125/5.81, allocations: 3.425 MB / 3.206 GB, free: 82.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/5.81, allocations: 11.94 kB / 3.206 GB, free: 82.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/5.81, allocations: 4.156 kB / 3.206 GB, free: 82.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/5.81, allocations: 88.72 kB / 3.206 GB, free: 82.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/5.814, allocations: 0.5344 MB / 3.206 GB, free: 82.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/5.815, allocations: 1.465 MB / 3.208 GB, free: 80.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/5.819, allocations: 274.6 kB / 3.208 GB, free: 80.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/5.819, allocations: 87.91 kB / 3.208 GB, free: 80.28 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0007546/5.82, allocations: 128.6 kB / 3.208 GB, free: 80.15 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01156/5.831, allocations: 3.39 MB / 3.211 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/5.832, allocations: 130.4 kB / 3.212 GB, free: 76.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/5.845, allocations: 3.975 MB / 3.215 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/5.845, allocations: 20 kB / 3.215 GB, free: 72.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/5.845, allocations: 7.953 kB / 3.215 GB, free: 72.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/5.845, allocations: 11.95 kB / 3.215 GB, free: 72.58 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/5.861, allocations: 5.932 MB / 3.221 GB, free: 66.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/5.861, allocations: 0 / 3.221 GB, free: 66.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003378/5.865, allocations: 0.5227 MB / 3.222 GB, free: 66.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/5.865, allocations: 88.77 kB / 3.222 GB, free: 65.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003791/5.866, allocations: 47.88 kB / 3.222 GB, free: 65.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/5.867, allocations: 1.481 MB / 3.223 GB, free: 64.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/5.867, allocations: 8.047 kB / 3.223 GB, free: 64.33 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/5.88, allocations: 3.581 MB / 3.227 GB, free: 60.73 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/5.882, allocations: 0.5259 MB / 3.227 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005859/5.882, allocations: 0 / 3.227 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/5.885, allocations: 215.8 kB / 3.228 GB, free: 59.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/5.885, allocations: 125.8 kB / 3.228 GB, free: 59.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/5.886, allocations: 83.92 kB / 3.228 GB, free: 59.77 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009281/5.887, allocations: 0.546 MB / 3.228 GB, free: 59.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.3e-07/5.887, allocations: 0 / 3.228 GB, free: 59.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002389/5.889, allocations: 0.5295 MB / 3.229 GB, free: 58.69 MB / 0.8698 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 (206): * Single equations (assignments): 203 * 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.01336/5.902, allocations: 5.098 MB / 3.234 GB, free: 53.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003545/5.906, allocations: 2.07 MB / 3.236 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/5.906, allocations: 4 kB / 3.236 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/5.908, allocations: 1.212 MB / 3.237 GB, free: 50.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/5.91, allocations: 238.5 kB / 3.237 GB, free: 50.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/5.918, allocations: 2.928 MB / 3.24 GB, free: 47.12 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008871/5.918, allocations: 1.36 MB / 3.241 GB, free: 45.72 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00363/5.922, allocations: 0.5457 MB / 3.242 GB, free: 45.17 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/5.924, allocations: 0.7413 MB / 3.243 GB, free: 44.43 MB / 0.8698 GB Notification: Performance of SimCode: time 1.783e-06/5.924, allocations: 0 / 3.243 GB, free: 44.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08215/6.006, allocations: 40.15 MB / 3.282 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/6.006, allocations: 200.3 kB / 3.282 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.262/9.268, allocations: 0 / 3.282 GB, free: 4.098 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)