Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_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.001108/0.001108, allocations: 173.2 kB / 7.647 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.8447/0.8447, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.542/1.542, 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.0008462/0.000846, allocations: 106.6 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.2e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5109, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.08/4.591, allocations: 1.694 GB / 2.328 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/4.592, allocations: 83.95 kB / 2.328 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5066/5.098, allocations: 79.65 MB / 2.406 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/5.098, allocations: 0 / 2.406 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.528e-05/5.098, allocations: 25.66 kB / 2.406 GB, free: 228.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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002229/5.101, allocations: 1.272 MB / 2.407 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/5.101, allocations: 9.438 kB / 2.407 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/5.102, allocations: 221.3 kB / 2.407 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/5.103, allocations: 0.7085 MB / 2.408 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/5.103, allocations: 42.7 kB / 2.408 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/5.103, allocations: 64.16 kB / 2.408 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001992/5.105, allocations: 1.12 MB / 2.409 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/5.107, allocations: 0.9359 MB / 2.41 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/5.107, allocations: 3.141 kB / 2.41 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/5.107, allocations: 0.75 kB / 2.41 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/5.107, allocations: 28.03 kB / 2.41 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004622/5.112, allocations: 2.846 MB / 2.413 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/5.113, allocations: 0.7012 MB / 2.413 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/5.113, allocations: 256.4 kB / 2.414 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.141e-05/5.113, allocations: 28.77 kB / 2.414 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006795/5.114, allocations: 415.9 kB / 2.414 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 2.335e-06/5.114, allocations: 2 kB / 2.414 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.001783/5.116, allocations: 0.679 MB / 2.415 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/5.116, allocations: 244.1 kB / 2.415 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007001/5.117, allocations: 0.549 MB / 2.416 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/5.117, allocations: 33.98 kB / 2.416 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/5.117, allocations: 0.4969 MB / 2.416 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/5.117, allocations: 248.3 kB / 2.416 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/5.117, allocations: 0 / 2.416 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001002/5.117, allocations: 385.6 kB / 2.417 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/5.118, allocations: 205.3 kB / 2.417 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/5.118, allocations: 309.8 kB / 2.417 GB, free: 225 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/5.118, allocations: 269.2 kB / 2.417 GB, free: 225 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/5.118, allocations: 0.9062 kB / 2.417 GB, free: 225 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001419/5.12, allocations: 0.6876 MB / 2.418 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/5.12, allocations: 5.438 kB / 2.418 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/5.12, allocations: 4.969 kB / 2.418 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/5.121, allocations: 81.38 kB / 2.418 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/5.121, allocations: 153.8 kB / 2.418 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/5.123, allocations: 1.452 MB / 2.42 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000625/5.123, allocations: 65.83 kB / 2.42 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/5.123, allocations: 27.81 kB / 2.42 GB, free: 223.6 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 (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.0001645/5.124, allocations: 124.3 kB / 2.42 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001469/5.125, allocations: 0.6848 MB / 2.421 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/5.125, allocations: 80.97 kB / 2.421 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/5.127, allocations: 0.9271 MB / 2.422 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/5.127, allocations: 15.11 kB / 2.422 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/5.127, allocations: 2.281 kB / 2.422 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/5.127, allocations: 3.562 kB / 2.422 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/5.129, allocations: 0.8429 MB / 2.422 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/5.129, allocations: 5.469 kB / 2.422 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/5.129, allocations: 153.5 kB / 2.423 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/5.13, allocations: 83.41 kB / 2.423 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/5.13, allocations: 18.91 kB / 2.423 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/5.131, allocations: 1.472 MB / 2.424 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/5.131, allocations: 3.75 kB / 2.424 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/5.132, allocations: 0.7921 MB / 2.425 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/5.133, allocations: 285.5 kB / 2.425 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/5.133, allocations: 3.594 kB / 2.425 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/5.133, allocations: 49.77 kB / 2.425 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/5.133, allocations: 68.23 kB / 2.425 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/5.134, allocations: 28.14 kB / 2.425 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004202/5.134, allocations: 448.3 kB / 2.426 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.134, allocations: 2.594 kB / 2.426 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001093/5.135, allocations: 381.9 kB / 2.426 GB, free: 221.3 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 (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.00291/5.138, allocations: 2.322 MB / 2.428 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001029/5.139, allocations: 0.6793 MB / 2.429 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/5.139, allocations: 3.75 kB / 2.429 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005818/5.14, allocations: 465.3 kB / 2.429 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/5.141, allocations: 235.6 kB / 2.43 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/5.145, allocations: 1.704 MB / 2.431 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/5.145, allocations: 1.107 MB / 2.432 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008034/5.146, allocations: 262 kB / 2.433 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/5.146, allocations: 451.6 kB / 2.433 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/5.146, allocations: 0 / 2.433 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/5.198, allocations: 24.59 MB / 2.457 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/5.198, allocations: 197.5 kB / 2.457 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/8.079, allocations: 0 / 2.457 GB, free: 217.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)