Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.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/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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_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.001989/0.001989, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7922/0.7922, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008993/0.0008993, allocations: 101.2 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.373e-05, allocations: 4 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4562, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.256/4.712, allocations: 1.693 GB / 2.327 GB, free: 43.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/4.712, allocations: 95 kB / 2.327 GB, free: 43.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6422/5.355, allocations: 57.92 MB / 2.384 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.225e-06/5.355, allocations: 0 / 2.384 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001181/5.355, allocations: 26.34 kB / 2.384 GB, free: 234.3 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002185/5.357, allocations: 1.055 MB / 2.385 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/5.357, allocations: 10.72 kB / 2.385 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/5.358, allocations: 186.5 kB / 2.385 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/5.359, allocations: 0.6079 MB / 2.386 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/5.359, allocations: 28.7 kB / 2.386 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/5.359, allocations: 44.44 kB / 2.386 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00162/5.361, allocations: 0.9662 MB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/5.362, allocations: 0.7106 MB / 2.387 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/5.362, allocations: 0 / 2.387 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/5.362, allocations: 1.031 kB / 2.387 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/5.362, allocations: 19.78 kB / 2.387 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004068/5.366, allocations: 2.233 MB / 2.389 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009465/5.367, allocations: 0.6264 MB / 2.39 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/5.368, allocations: 231 kB / 2.39 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.972e-05/5.368, allocations: 40.17 kB / 2.39 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/5.368, allocations: 384.4 kB / 2.391 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 2.785e-06/5.368, allocations: 0 / 2.391 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.001589/5.37, allocations: 0.628 MB / 2.391 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/5.37, allocations: 246.5 kB / 2.392 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/5.371, allocations: 499.4 kB / 2.392 GB, free: 232 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/5.371, allocations: 31.36 kB / 2.392 GB, free: 232 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/5.371, allocations: 377.2 kB / 2.392 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/5.371, allocations: 223 kB / 2.393 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/5.371, allocations: 3.172 kB / 2.393 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001161/5.372, allocations: 384.5 kB / 2.393 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/5.372, allocations: 179 kB / 2.393 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/5.372, allocations: 288.6 kB / 2.393 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/5.372, allocations: 230 kB / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/5.372, allocations: 0 / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001328/5.374, allocations: 0.6302 MB / 2.394 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/5.374, allocations: 2.781 kB / 2.394 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/5.374, allocations: 3.625 kB / 2.394 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/5.374, allocations: 79.69 kB / 2.394 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/5.375, allocations: 140.5 kB / 2.395 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/5.377, allocations: 1.461 MB / 2.396 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/5.377, allocations: 63.38 kB / 2.396 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/5.377, allocations: 25.72 kB / 2.396 GB, free: 229.9 MB / 0.6823 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 (74): * Single equations (assignments): 73 * 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.0001716/5.378, allocations: 116.5 kB / 2.396 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001299/5.379, allocations: 0.6322 MB / 2.397 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/5.379, allocations: 73.61 kB / 2.397 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/5.381, allocations: 0.8821 MB / 2.398 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/5.381, allocations: 12.84 kB / 2.398 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/5.381, allocations: 0 / 2.398 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/5.381, allocations: 3.797 kB / 2.398 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000942/5.382, allocations: 0.729 MB / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/5.382, allocations: 0 / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/5.382, allocations: 139.1 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/5.383, allocations: 89.38 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/5.383, allocations: 19.12 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/5.384, allocations: 1.471 MB / 2.4 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/5.384, allocations: 0 / 2.4 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/5.386, allocations: 0.7392 MB / 2.401 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/5.386, allocations: 280.1 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/5.386, allocations: 3.781 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/5.387, allocations: 53.44 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/5.387, allocations: 57.39 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/5.387, allocations: 30.48 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004613/5.387, allocations: 409 kB / 2.402 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/5.387, allocations: 0 / 2.402 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001102/5.388, allocations: 324.9 kB / 2.402 GB, free: 227.7 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.392, allocations: 2.256 MB / 2.404 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001162/5.393, allocations: 0.6299 MB / 2.405 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/5.393, allocations: 3.812 kB / 2.405 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006154/5.394, allocations: 434.9 kB / 2.405 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/5.395, allocations: 217.8 kB / 2.405 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/5.399, allocations: 1.448 MB / 2.407 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/5.399, allocations: 1.018 MB / 2.408 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008219/5.4, allocations: 239.4 kB / 2.408 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/5.401, allocations: 339.2 kB / 2.408 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/5.401, allocations: 3.25 kB / 2.408 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05767/5.458, allocations: 22.77 MB / 2.431 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/5.459, allocations: 196.3 kB / 2.431 GB, free: 218 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/8.647, allocations: 0 / 2.431 GB, free: 218 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)