Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_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.001251/0.001251, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.825/0.825, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009913, allocations: 105 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.612e-05/4.635e-05, allocations: 2.406 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1625, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.848/5.011, allocations: 1.696 GB / 2.337 GB, free: 196 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/5.011, allocations: 88.11 kB / 2.337 GB, free: 196 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1813/5.192, allocations: 84.09 MB / 2.419 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/5.192, allocations: 0 / 2.419 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.345e-05/5.192, allocations: 28 kB / 2.419 GB, free: 123.7 MB / 0.6823 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.0021/5.195, allocations: 1.32 MB / 2.42 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/5.195, allocations: 12.03 kB / 2.42 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/5.195, allocations: 189.9 kB / 2.42 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/5.196, allocations: 226 kB / 2.421 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/5.197, allocations: 0.7483 MB / 2.421 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/5.197, allocations: 124.2 kB / 2.421 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/5.197, allocations: 120 kB / 2.422 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/5.199, allocations: 1.227 MB / 2.423 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/5.199, allocations: 3.938 kB / 2.423 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/5.199, allocations: 52 kB / 2.423 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/5.199, allocations: 35.95 kB / 2.423 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/5.201, allocations: 1.337 MB / 2.424 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00461/5.205, allocations: 3.547 MB / 2.428 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/5.206, allocations: 0.8744 MB / 2.428 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/5.207, allocations: 351.1 kB / 2.429 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.044e-05/5.207, allocations: 44.7 kB / 2.429 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/5.208, allocations: 0.5129 MB / 2.429 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 2.394e-06/5.208, allocations: 0 / 2.429 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.001747/5.209, allocations: 0.8866 MB / 2.43 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/5.209, allocations: 244.1 kB / 2.43 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/5.21, allocations: 0.6996 MB / 2.431 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/5.21, allocations: 45.7 kB / 2.431 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/5.21, allocations: 0.5038 MB / 2.432 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/5.211, allocations: 307.5 kB / 2.432 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/5.211, allocations: 20 kB / 2.432 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/5.211, allocations: 337.9 kB / 2.432 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/5.211, allocations: 282 kB / 2.433 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/5.212, allocations: 424.3 kB / 2.433 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/5.212, allocations: 344.8 kB / 2.433 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/5.212, allocations: 0 / 2.433 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001613/5.214, allocations: 0.9384 MB / 2.434 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/5.214, allocations: 4 kB / 2.434 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/5.214, allocations: 0 / 2.434 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/5.214, allocations: 84.88 kB / 2.434 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/5.215, allocations: 195.7 kB / 2.434 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/5.217, allocations: 1.536 MB / 2.436 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/5.217, allocations: 107.2 kB / 2.436 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/5.218, allocations: 31.97 kB / 2.436 GB, free: 105.5 MB / 0.6823 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.0001669/5.218, allocations: 158 kB / 2.436 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/5.218, allocations: 98.95 kB / 2.436 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/5.22, allocations: 1.266 MB / 2.438 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/5.22, allocations: 12 kB / 2.438 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/5.22, allocations: 0 / 2.438 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/5.22, allocations: 3.984 kB / 2.438 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/5.223, allocations: 2.419 MB / 2.44 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/5.223, allocations: 0 / 2.44 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/5.224, allocations: 179.8 kB / 2.44 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/5.224, allocations: 88.7 kB / 2.44 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/5.225, allocations: 27.98 kB / 2.44 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/5.226, allocations: 1.567 MB / 2.442 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/5.226, allocations: 11.97 kB / 2.442 GB, free: 99.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/5.227, allocations: 1.07 MB / 2.443 GB, free: 98.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/5.228, allocations: 347.5 kB / 2.443 GB, free: 97.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/5.228, allocations: 20 kB / 2.443 GB, free: 97.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000663/5.229, allocations: 83.92 kB / 2.443 GB, free: 97.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/5.229, allocations: 72.89 kB / 2.443 GB, free: 97.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/5.229, allocations: 35.98 kB / 2.443 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005877/5.23, allocations: 0.5851 MB / 2.444 GB, free: 97.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/5.23, allocations: 0 / 2.444 GB, free: 97.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001188/5.231, allocations: 442.7 kB / 2.444 GB, free: 96.74 MB / 0.6823 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.003409/5.234, allocations: 2.536 MB / 2.447 GB, free: 94.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001258/5.235, allocations: 0.8821 MB / 2.448 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/5.235, allocations: 0 / 2.448 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007486/5.236, allocations: 0.5628 MB / 2.448 GB, free: 92.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/5.237, allocations: 257.6 kB / 2.448 GB, free: 92.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/5.241, allocations: 1.969 MB / 2.45 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/5.241, allocations: 1.146 MB / 2.452 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008238/5.242, allocations: 299.6 kB / 2.452 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/5.243, allocations: 499.2 kB / 2.452 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/5.243, allocations: 0 / 2.452 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0521/5.295, allocations: 35.99 MB / 2.487 GB, free: 52.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/5.295, allocations: 242.2 kB / 2.488 GB, free: 52.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/8.466, allocations: 0 / 2.488 GB, free: 52.53 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)