Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.002532/0.002532, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5401/0.5401, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 223.2 MB / 354.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001034, allocations: 103.2 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 8 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1636, allocations: 72.31 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.483/4.646, allocations: 1.687 GB / 2.256 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/4.647, allocations: 88.2 kB / 2.256 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1842/4.831, allocations: 84.41 MB / 2.338 GB, free: 84.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/4.831, allocations: 0 / 2.338 GB, free: 84.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001306/4.831, allocations: 28 kB / 2.338 GB, free: 84.92 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004175/4.835, allocations: 1.458 MB / 2.339 GB, free: 83.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/4.835, allocations: 11.97 kB / 2.34 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005699/4.836, allocations: 185.9 kB / 2.34 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/4.837, allocations: 230 kB / 2.34 GB, free: 82.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/4.839, allocations: 0.7521 MB / 2.341 GB, free: 82.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/4.839, allocations: 128.2 kB / 2.341 GB, free: 82.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/4.839, allocations: 124 kB / 2.341 GB, free: 81.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/4.842, allocations: 1.266 MB / 2.342 GB, free: 80.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/4.842, allocations: 0 / 2.342 GB, free: 80.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/4.842, allocations: 52 kB / 2.342 GB, free: 80.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/4.842, allocations: 32 kB / 2.342 GB, free: 80.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/4.844, allocations: 1.391 MB / 2.344 GB, free: 79.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005338/4.849, allocations: 3.553 MB / 2.347 GB, free: 75.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/4.85, allocations: 0.9194 MB / 2.348 GB, free: 74.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/4.85, allocations: 40.92 kB / 2.348 GB, free: 74.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008537/4.851, allocations: 0.5476 MB / 2.348 GB, free: 73.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=93): time 2.765e-06/4.851, allocations: 0 / 2.348 GB, free: 73.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93): time 0.003617/4.855, allocations: 1.39 MB / 2.35 GB, free: 72.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/4.855, allocations: 252.3 kB / 2.35 GB, free: 72.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/4.856, allocations: 0.711 MB / 2.351 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/4.856, allocations: 41.7 kB / 2.351 GB, free: 71.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/4.857, allocations: 0.5116 MB / 2.351 GB, free: 70.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/4.857, allocations: 303.5 kB / 2.352 GB, free: 70.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/4.857, allocations: 16 kB / 2.352 GB, free: 70.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001129/4.857, allocations: 341.9 kB / 2.352 GB, free: 70.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/4.858, allocations: 301.8 kB / 2.352 GB, free: 70 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/4.858, allocations: 440.2 kB / 2.353 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/4.859, allocations: 370.9 kB / 2.353 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/4.859, allocations: 0 / 2.353 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002027/4.861, allocations: 0.9736 MB / 2.354 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/4.861, allocations: 12.09 kB / 2.354 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/4.861, allocations: 0 / 2.354 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/4.862, allocations: 92.72 kB / 2.354 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/4.863, allocations: 183.8 kB / 2.354 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/4.864, allocations: 1.539 MB / 2.356 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008351/4.865, allocations: 107.2 kB / 2.356 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/4.865, allocations: 35.97 kB / 2.356 GB, free: 66.09 MB / 0.6042 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 () * Number of clocked 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.0006631/4.866, allocations: 299.5 kB / 2.356 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/4.866, allocations: 98.78 kB / 2.356 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/4.869, allocations: 1.317 MB / 2.358 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/4.869, allocations: 12 kB / 2.358 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/4.869, allocations: 0 / 2.358 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/4.869, allocations: 3.984 kB / 2.358 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/4.872, allocations: 2.489 MB / 2.36 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/4.872, allocations: 0 / 2.36 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/4.873, allocations: 183.8 kB / 2.36 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/4.874, allocations: 88.77 kB / 2.36 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/4.874, allocations: 27.94 kB / 2.36 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/4.875, allocations: 1.571 MB / 2.362 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/4.875, allocations: 0 / 2.362 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/4.877, allocations: 1.121 MB / 2.363 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/4.878, allocations: 355.2 kB / 2.363 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/4.878, allocations: 20 kB / 2.363 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/4.879, allocations: 75.94 kB / 2.363 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/4.879, allocations: 72.89 kB / 2.363 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/4.879, allocations: 39.97 kB / 2.363 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007542/4.88, allocations: 0.5888 MB / 2.364 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/4.88, allocations: 0 / 2.364 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001341/4.881, allocations: 438.8 kB / 2.364 GB, free: 57.06 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) * Number of clocked states: 0 () * 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.004051/4.885, allocations: 2.637 MB / 2.367 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001674/4.887, allocations: 0.929 MB / 2.368 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/4.887, allocations: 0 / 2.368 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008464/4.888, allocations: 0.5899 MB / 2.368 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/4.889, allocations: 248.5 kB / 2.369 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/4.895, allocations: 3.896 MB / 2.373 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/4.896, allocations: 1.15 MB / 2.374 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00102/4.897, allocations: 291.7 kB / 2.374 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/4.897, allocations: 495.2 kB / 2.374 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of SimCode: time 1.783e-06/4.897, allocations: 0 / 2.374 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/4.955, allocations: 33.83 MB / 2.407 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/4.956, allocations: 272 kB / 2.408 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/8.437, allocations: 0 / 2.408 GB, free: 12.98 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)