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.01284/0.01284, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7745/0.7745, allocations: 135.2 MB / 151 MB, free: 13.82 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.501/1.501, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.0009404/0.0009404, allocations: 101.9 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005112, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4847, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.352/4.836, allocations: 1.694 GB / 2.343 GB, free: 22.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/4.837, allocations: 103.9 kB / 2.344 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5916/5.429, allocations: 59.06 MB / 2.401 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.246e-06/5.429, allocations: 4 kB / 2.401 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.734e-05/5.429, allocations: 24 kB / 2.401 GB, free: 241.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.002155/5.431, allocations: 1.175 MB / 2.402 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/5.431, allocations: 12.03 kB / 2.402 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/5.431, allocations: 126.8 kB / 2.403 GB, free: 240 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/5.432, allocations: 194.4 kB / 2.403 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/5.433, allocations: 0.6032 MB / 2.403 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/5.433, allocations: 62 kB / 2.403 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/5.433, allocations: 72 kB / 2.403 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/5.434, allocations: 0.8442 MB / 2.404 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/5.434, allocations: 4 kB / 2.404 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/5.434, allocations: 32 kB / 2.404 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/5.434, allocations: 19.95 kB / 2.404 GB, free: 238.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/5.436, allocations: 1.061 MB / 2.405 GB, free: 237.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/5.439, allocations: 2.389 MB / 2.408 GB, free: 234.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/5.44, allocations: 0.7112 MB / 2.408 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/5.44, allocations: 36.36 kB / 2.408 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006499/5.441, allocations: 415.2 kB / 2.409 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 3.266e-06/5.441, allocations: 0 / 2.409 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.002784/5.444, allocations: 1.089 MB / 2.41 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/5.444, allocations: 244 kB / 2.41 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/5.445, allocations: 0.5814 MB / 2.411 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/5.445, allocations: 37.7 kB / 2.411 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/5.445, allocations: 372.3 kB / 2.411 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/5.445, allocations: 236.4 kB / 2.411 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/5.445, allocations: 12 kB / 2.411 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000103/5.445, allocations: 382.8 kB / 2.412 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/5.446, allocations: 217.2 kB / 2.412 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/5.446, allocations: 323.6 kB / 2.412 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/5.446, allocations: 263.1 kB / 2.412 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/5.446, allocations: 4 kB / 2.412 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001542/5.448, allocations: 0.7197 MB / 2.413 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/5.448, allocations: 8 kB / 2.413 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/5.448, allocations: 0 / 2.413 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/5.449, allocations: 88.81 kB / 2.413 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/5.449, allocations: 131.8 kB / 2.413 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/5.451, allocations: 1.525 MB / 2.415 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/5.452, allocations: 79.33 kB / 2.415 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/5.452, allocations: 31.98 kB / 2.415 GB, free: 226.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 () * Number of clocked 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.0004979/5.452, allocations: 250.4 kB / 2.415 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/5.452, allocations: 79.02 kB / 2.415 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/5.454, allocations: 0.9785 MB / 2.416 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/5.454, allocations: 8 kB / 2.416 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/5.454, allocations: 0 / 2.416 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/5.454, allocations: 3.984 kB / 2.416 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/5.455, allocations: 0.8605 MB / 2.417 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/5.455, allocations: 4 kB / 2.417 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/5.456, allocations: 139.8 kB / 2.417 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005566/5.456, allocations: 84.77 kB / 2.417 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/5.457, allocations: 23.98 kB / 2.417 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/5.458, allocations: 1.56 MB / 2.419 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/5.458, allocations: 0 / 2.419 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/5.46, allocations: 0.8343 MB / 2.42 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/5.46, allocations: 279.7 kB / 2.42 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/5.46, allocations: 16 kB / 2.42 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/5.461, allocations: 75.89 kB / 2.42 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/5.461, allocations: 52.92 kB / 2.42 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/5.461, allocations: 31.98 kB / 2.42 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005313/5.461, allocations: 479 kB / 2.421 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/5.461, allocations: 0 / 2.421 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001122/5.463, allocations: 347.2 kB / 2.421 GB, free: 220.6 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) * Number of clocked states: 0 () * 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.003844/5.466, allocations: 2.347 MB / 2.423 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001388/5.468, allocations: 0.7162 MB / 2.424 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/5.468, allocations: 0 / 2.424 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008038/5.469, allocations: 488.3 kB / 2.424 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/5.47, allocations: 227.5 kB / 2.425 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/5.479, allocations: 4.978 MB / 2.429 GB, free: 212 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/5.479, allocations: 1.007 MB / 2.43 GB, free: 211 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001054/5.48, allocations: 261.9 kB / 2.431 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/5.481, allocations: 343.3 kB / 2.431 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/5.481, allocations: 4 kB / 2.431 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/5.537, allocations: 28.91 MB / 2.459 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/5.537, allocations: 283.3 kB / 2.459 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/8.816, allocations: 3.094 kB / 2.459 GB, free: 181.5 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)