Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009078/0.0009078, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4821/0.4821, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008783, allocations: 87.94 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.818e-05/1.82e-05, allocations: 0 / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1478, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.991/4.139, allocations: 1.688 GB / 2.242 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/4.139, allocations: 87.95 kB / 2.242 GB, free: 3.746 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.6336/4.773, allocations: 118.1 MB / 2.357 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/4.773, allocations: 0 / 2.357 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001791/4.773, allocations: 56 kB / 2.358 GB, free: 141.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.006157/4.779, allocations: 2.236 MB / 2.36 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/4.779, allocations: 8.031 kB / 2.36 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/4.792, allocations: 1.944 MB / 2.362 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/4.795, allocations: 1.324 MB / 2.363 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/4.796, allocations: 80 kB / 2.363 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009744/4.797, allocations: 140 kB / 2.363 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007139/4.804, allocations: 3.414 MB / 2.366 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00657/4.81, allocations: 2.688 MB / 2.369 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/4.81, allocations: 0 / 2.369 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/4.811, allocations: 8 kB / 2.369 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/4.811, allocations: 64 kB / 2.369 GB, free: 129 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/4.827, allocations: 8.387 MB / 2.377 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/4.829, allocations: 2.244 MB / 2.38 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/4.831, allocations: 1.193 MB / 2.381 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/4.832, allocations: 0.5071 MB / 2.381 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/4.833, allocations: 1.462 MB / 2.383 GB, free: 115 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=222): time 3.988e-06/4.834, allocations: 4 kB / 2.383 GB, free: 115 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222): time 0.01209/4.846, allocations: 4.049 MB / 2.387 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/4.846, allocations: 257.3 kB / 2.387 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/4.847, allocations: 0.7748 MB / 2.388 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/4.847, allocations: 25.7 kB / 2.388 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/4.848, allocations: 0.8356 MB / 2.388 GB, free: 109 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/4.848, allocations: 0.6848 MB / 2.389 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/4.849, allocations: 0 / 2.389 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001045/4.849, allocations: 377.9 kB / 2.389 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/4.85, allocations: 0.9335 MB / 2.39 GB, free: 107 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/4.852, allocations: 1.122 MB / 2.391 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009296/4.861, allocations: 2.676 MB / 2.394 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/4.861, allocations: 0 / 2.394 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01418/4.875, allocations: 4.12 MB / 2.398 GB, free: 98.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/4.875, allocations: 4 kB / 2.398 GB, free: 98.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/4.875, allocations: 0 / 2.398 GB, free: 98.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/4.876, allocations: 92.83 kB / 2.398 GB, free: 98.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/4.88, allocations: 0.6279 MB / 2.399 GB, free: 98.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/4.881, allocations: 1.461 MB / 2.4 GB, free: 96.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/4.885, allocations: 302.3 kB / 2.401 GB, free: 96.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005201/4.885, allocations: 99.88 kB / 2.401 GB, free: 96.29 MB / 0.6042 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 (239): * Single equations (assignments): 238 * 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.0008557/4.886, allocations: 141.7 kB / 2.401 GB, free: 96.14 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01319/4.899, allocations: 4.049 MB / 2.405 GB, free: 92.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006469/4.9, allocations: 150.1 kB / 2.405 GB, free: 91.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/4.915, allocations: 4.758 MB / 2.409 GB, free: 87.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/4.915, allocations: 28 kB / 2.41 GB, free: 87.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/4.915, allocations: 0 / 2.41 GB, free: 87.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/4.915, allocations: 11.95 kB / 2.41 GB, free: 87.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/4.934, allocations: 7.422 MB / 2.417 GB, free: 79.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/4.934, allocations: 0 / 2.417 GB, free: 79.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00381/4.938, allocations: 0.6007 MB / 2.417 GB, free: 79.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/4.939, allocations: 88.78 kB / 2.417 GB, free: 78.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005193/4.939, allocations: 43.92 kB / 2.417 GB, free: 78.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/4.941, allocations: 1.492 MB / 2.419 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/4.941, allocations: 0 / 2.419 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/4.954, allocations: 4.223 MB / 2.423 GB, free: 73.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/4.956, allocations: 0.662 MB / 2.424 GB, free: 72.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007094/4.957, allocations: 4 kB / 2.424 GB, free: 72.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/4.96, allocations: 231.7 kB / 2.424 GB, free: 72.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/4.96, allocations: 137.8 kB / 2.424 GB, free: 71.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/4.961, allocations: 91.91 kB / 2.424 GB, free: 71.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00121/4.962, allocations: 0.6638 MB / 2.425 GB, free: 71.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/4.962, allocations: 0 / 2.425 GB, free: 71.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002948/4.965, allocations: 0.6811 MB / 2.425 GB, free: 70.55 MB / 0.6042 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 (240): * Single equations (assignments): 237 * 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.01637/4.981, allocations: 5.786 MB / 2.431 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004997/4.986, allocations: 2.491 MB / 2.434 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/4.986, allocations: 0 / 2.434 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/4.989, allocations: 1.411 MB / 2.435 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/4.991, allocations: 249.2 kB / 2.435 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009627/5, allocations: 3.663 MB / 2.439 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/5.002, allocations: 1.551 MB / 2.44 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004036/5.006, allocations: 0.587 MB / 2.441 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/5.008, allocations: 0.9521 MB / 2.442 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/5.008, allocations: 4 kB / 2.442 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08976/5.097, allocations: 47.86 MB / 2.489 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/5.098, allocations: 201.1 kB / 2.489 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.348/8.445, allocations: 4 kB / 2.489 GB, free: 5.77 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)