Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.00105/0.00105, allocations: 177.8 kB / 8.004 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.5045/0.5045, allocations: 90.91 MB / 99.34 MB, free: 2.195 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.498/1.498, allocations: 221.5 MB / 343.2 MB, free: 1.574 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.001074/0.001074, allocations: 95.7 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.703e-05, allocations: 2.562 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.057/4.205, allocations: 1.684 GB / 2.238 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/4.206, allocations: 84.11 kB / 2.238 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1645/4.37, allocations: 79.66 MB / 2.316 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/4.37, allocations: 4 kB / 2.316 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001032/4.37, allocations: 35.92 kB / 2.316 GB, free: 143.5 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002333/4.373, allocations: 1.266 MB / 2.317 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/4.373, allocations: 12.03 kB / 2.317 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/4.374, allocations: 218.2 kB / 2.317 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/4.375, allocations: 0.7055 MB / 2.318 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/4.375, allocations: 44 kB / 2.318 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/4.375, allocations: 67.95 kB / 2.318 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001543/4.377, allocations: 1.121 MB / 2.319 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/4.378, allocations: 0.9303 MB / 2.32 GB, free: 139 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/4.378, allocations: 3.984 kB / 2.32 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/4.378, allocations: 4 kB / 2.32 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/4.378, allocations: 28 kB / 2.32 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/4.382, allocations: 2.841 MB / 2.323 GB, free: 136 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/4.383, allocations: 0.6994 MB / 2.324 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/4.383, allocations: 255.2 kB / 2.324 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-05/4.383, allocations: 32.92 kB / 2.324 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/4.384, allocations: 404.8 kB / 2.324 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 3.547e-06/4.384, allocations: 4 kB / 2.324 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.001352/4.385, allocations: 0.6875 MB / 2.325 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/4.385, allocations: 240.1 kB / 2.325 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/4.385, allocations: 0.5543 MB / 2.326 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/4.386, allocations: 25.7 kB / 2.326 GB, free: 133 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/4.386, allocations: 0.4995 MB / 2.326 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/4.386, allocations: 252.2 kB / 2.326 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/4.386, allocations: 0 / 2.326 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.583e-05/4.386, allocations: 382.8 kB / 2.327 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/4.386, allocations: 197.5 kB / 2.327 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/4.387, allocations: 319.5 kB / 2.327 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/4.387, allocations: 252.5 kB / 2.328 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/4.387, allocations: 0 / 2.328 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001203/4.388, allocations: 0.7031 MB / 2.328 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/4.388, allocations: 4 kB / 2.328 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/4.388, allocations: 0 / 2.328 GB, free: 130.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/4.389, allocations: 88.78 kB / 2.328 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/4.389, allocations: 147.8 kB / 2.328 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/4.391, allocations: 1.457 MB / 2.33 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/4.391, allocations: 67.5 kB / 2.33 GB, free: 128.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/4.391, allocations: 35.92 kB / 2.33 GB, free: 128.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0001286/4.391, allocations: 112.9 kB / 2.33 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001169/4.393, allocations: 0.6875 MB / 2.331 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/4.393, allocations: 79.06 kB / 2.331 GB, free: 127.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/4.394, allocations: 0.9274 MB / 2.332 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/4.394, allocations: 12.09 kB / 2.332 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/4.394, allocations: 4 kB / 2.332 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/4.394, allocations: 15.95 kB / 2.332 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/4.395, allocations: 0.8375 MB / 2.333 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/4.395, allocations: 0 / 2.333 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/4.396, allocations: 147.8 kB / 2.333 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/4.396, allocations: 88.7 kB / 2.333 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/4.396, allocations: 15.98 kB / 2.333 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/4.397, allocations: 1.477 MB / 2.334 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/4.397, allocations: 0 / 2.334 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/4.399, allocations: 0.7894 MB / 2.335 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/4.399, allocations: 291.7 kB / 2.335 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.957e-05/4.399, allocations: 0 / 2.335 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/4.399, allocations: 51.95 kB / 2.335 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/4.4, allocations: 60.69 kB / 2.335 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/4.4, allocations: 31.98 kB / 2.335 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003792/4.4, allocations: 451.1 kB / 2.336 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.52e-07/4.4, allocations: 0 / 2.336 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008857/4.401, allocations: 382.5 kB / 2.336 GB, free: 121.8 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.00266/4.404, allocations: 2.322 MB / 2.338 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009376/4.404, allocations: 0.6866 MB / 2.339 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/4.405, allocations: 0 / 2.339 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/4.405, allocations: 464.6 kB / 2.34 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/4.406, allocations: 235 kB / 2.34 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/4.409, allocations: 1.717 MB / 2.342 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/4.41, allocations: 1.105 MB / 2.343 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007182/4.41, allocations: 258.5 kB / 2.343 GB, free: 115 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/4.411, allocations: 455.2 kB / 2.343 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/4.411, allocations: 0 / 2.343 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04621/4.457, allocations: 24.59 MB / 2.367 GB, free: 90.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/4.457, allocations: 195.3 kB / 2.367 GB, free: 89.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/7.157, allocations: 0 / 2.367 GB, free: 89.88 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)