Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.001581/0.001581, allocations: 175.7 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.7385/0.7385, allocations: 133.6 MB / 141.6 MB, free: 2.949 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.362/1.362, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008758/0.0008756, allocations: 102.1 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.736e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4163, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.138/4.555, allocations: 1.693 GB / 2.327 GB, free: 43.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004189/4.555, allocations: 92.56 kB / 2.327 GB, free: 43.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6132/5.168, allocations: 57.93 MB / 2.384 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.597e-06/5.168, allocations: 0.6562 kB / 2.384 GB, free: 234.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001178/5.168, allocations: 22.59 kB / 2.384 GB, free: 234.4 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.002264/5.171, allocations: 1.071 MB / 2.385 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/5.171, allocations: 11.91 kB / 2.385 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009544/5.172, allocations: 185.7 kB / 2.385 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/5.173, allocations: 0.6008 MB / 2.386 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/5.173, allocations: 25.38 kB / 2.386 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/5.173, allocations: 43.34 kB / 2.386 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001728/5.175, allocations: 0.9748 MB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/5.176, allocations: 0.7041 MB / 2.387 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/5.176, allocations: 1 kB / 2.387 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/5.176, allocations: 3.875 kB / 2.387 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/5.176, allocations: 21.45 kB / 2.387 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/5.18, allocations: 2.219 MB / 2.389 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009337/5.181, allocations: 0.6346 MB / 2.39 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/5.181, allocations: 235 kB / 2.39 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/5.181, allocations: 36.75 kB / 2.39 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/5.182, allocations: 383.8 kB / 2.391 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 2.975e-06/5.182, allocations: 2.281 kB / 2.391 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.00148/5.183, allocations: 0.6295 MB / 2.391 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/5.183, allocations: 245.1 kB / 2.392 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/5.184, allocations: 0.4932 MB / 2.392 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/5.184, allocations: 25.7 kB / 2.392 GB, free: 232 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/5.184, allocations: 381.3 kB / 2.392 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/5.184, allocations: 221.7 kB / 2.393 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/5.184, allocations: 0 / 2.393 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000117/5.185, allocations: 379.2 kB / 2.393 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/5.185, allocations: 184.4 kB / 2.393 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/5.185, allocations: 286.4 kB / 2.393 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/5.186, allocations: 232.8 kB / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/5.186, allocations: 0 / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001305/5.187, allocations: 0.6293 MB / 2.394 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/5.187, allocations: 9.594 kB / 2.394 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/5.187, allocations: 3 kB / 2.394 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/5.187, allocations: 84.25 kB / 2.394 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/5.188, allocations: 130.4 kB / 2.395 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/5.19, allocations: 1.458 MB / 2.396 GB, free: 230 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/5.19, allocations: 65.88 kB / 2.396 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/5.19, allocations: 24.77 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.0001534/5.19, allocations: 113.6 kB / 2.396 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001241/5.192, allocations: 0.6346 MB / 2.397 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/5.192, allocations: 77.02 kB / 2.397 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/5.194, allocations: 0.8747 MB / 2.398 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/5.194, allocations: 7.719 kB / 2.398 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/5.194, allocations: 0 / 2.398 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/5.194, allocations: 3.656 kB / 2.398 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/5.195, allocations: 0.7361 MB / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/5.195, allocations: 0 / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/5.195, allocations: 143 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/5.196, allocations: 80.59 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/5.196, allocations: 16.64 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/5.197, allocations: 1.483 MB / 2.4 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/5.197, allocations: 0 / 2.4 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/5.199, allocations: 0.7399 MB / 2.401 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/5.199, allocations: 274.4 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/5.199, allocations: 3.438 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/5.2, allocations: 54.95 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/5.2, allocations: 56.34 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/5.2, allocations: 27.89 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005626/5.2, allocations: 407.2 kB / 2.402 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.9e-07/5.2, allocations: 0 / 2.402 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001356/5.202, allocations: 327.2 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.003797/5.206, allocations: 2.256 MB / 2.404 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001232/5.207, allocations: 0.6231 MB / 2.405 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/5.207, allocations: 6 kB / 2.405 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006268/5.208, allocations: 443.5 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.001109/5.209, allocations: 223.1 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.004079/5.213, 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.0005062/5.213, allocations: 1.015 MB / 2.408 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008754/5.214, allocations: 251.1 kB / 2.408 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/5.215, allocations: 337.9 kB / 2.408 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/5.215, allocations: 0 / 2.408 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06163/5.276, allocations: 22.76 MB / 2.431 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/5.277, allocations: 210.4 kB / 2.431 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/8.421, allocations: 0 / 2.431 GB, free: 217.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)