Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.001733/0.001733, allocations: 180.9 kB / 7.651 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.8232/0.8232, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.561/1.561, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.000928/0.0009281, allocations: 108 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.31e-05, allocations: 4 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.485, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.097/4.582, allocations: 1.694 GB / 2.328 GB, free: 42.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/4.582, allocations: 85.64 kB / 2.328 GB, free: 42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5765/5.159, allocations: 79.64 MB / 2.406 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.464e-06/5.159, allocations: 3.938 kB / 2.406 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.647e-05/5.159, allocations: 34.86 kB / 2.406 GB, free: 233.1 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.002075/5.161, allocations: 1.27 MB / 2.407 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/5.161, allocations: 7.656 kB / 2.407 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008762/5.162, allocations: 225 kB / 2.407 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/5.163, allocations: 0.7158 MB / 2.408 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/5.163, allocations: 34.78 kB / 2.408 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-05/5.163, allocations: 66.38 kB / 2.408 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001535/5.165, allocations: 1.119 MB / 2.409 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/5.166, allocations: 0.9314 MB / 2.41 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/5.166, allocations: 5.156 kB / 2.41 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/5.166, allocations: 0 / 2.41 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/5.166, allocations: 27.41 kB / 2.41 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/5.17, allocations: 2.851 MB / 2.413 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/5.171, allocations: 0.6962 MB / 2.413 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/5.171, allocations: 255.7 kB / 2.414 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.456e-05/5.171, allocations: 34.91 kB / 2.414 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005456/5.172, allocations: 410.2 kB / 2.414 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 2.796e-06/5.172, allocations: 3.969 kB / 2.414 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.001428/5.173, allocations: 0.6793 MB / 2.415 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/5.173, allocations: 243.2 kB / 2.415 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/5.174, allocations: 0.5542 MB / 2.416 GB, free: 229 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/5.174, allocations: 25.7 kB / 2.416 GB, free: 229 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/5.174, allocations: 0.5001 MB / 2.416 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/5.174, allocations: 246.5 kB / 2.416 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/5.174, allocations: 0 / 2.416 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001101/5.174, allocations: 380.1 kB / 2.417 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/5.175, allocations: 214.7 kB / 2.417 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/5.175, allocations: 307.8 kB / 2.417 GB, free: 228 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/5.175, allocations: 264.8 kB / 2.417 GB, free: 228 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/5.175, allocations: 0 / 2.417 GB, free: 228 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001271/5.177, allocations: 0.6894 MB / 2.418 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/5.177, allocations: 8.656 kB / 2.418 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/5.177, allocations: 0 / 2.418 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/5.177, allocations: 85.86 kB / 2.418 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/5.178, allocations: 141.6 kB / 2.418 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/5.179, allocations: 1.46 MB / 2.42 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/5.18, allocations: 63.75 kB / 2.42 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/5.18, allocations: 29.98 kB / 2.42 GB, free: 226.4 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.0001715/5.18, allocations: 127.9 kB / 2.42 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001352/5.181, allocations: 0.68 MB / 2.421 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/5.182, allocations: 85.98 kB / 2.421 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/5.184, allocations: 0.9321 MB / 2.422 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/5.184, allocations: 9.375 kB / 2.422 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/5.184, allocations: 0 / 2.422 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/5.184, allocations: 9.859 kB / 2.422 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/5.185, allocations: 0.8578 MB / 2.422 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/5.185, allocations: 0 / 2.422 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/5.185, allocations: 149.1 kB / 2.423 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/5.186, allocations: 84.12 kB / 2.423 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/5.186, allocations: 14.36 kB / 2.423 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/5.187, allocations: 1.478 MB / 2.424 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/5.187, allocations: 0 / 2.424 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/5.189, allocations: 0.7965 MB / 2.425 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/5.189, allocations: 284.1 kB / 2.425 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/5.189, allocations: 0 / 2.425 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/5.19, allocations: 55.91 kB / 2.425 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/5.19, allocations: 61.16 kB / 2.425 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/5.19, allocations: 30.86 kB / 2.425 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004357/5.19, allocations: 446.1 kB / 2.426 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.472e-06/5.19, allocations: 0 / 2.426 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001067/5.191, allocations: 384.3 kB / 2.426 GB, free: 223 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.003029/5.194, allocations: 2.311 MB / 2.428 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001262/5.196, allocations: 0.6921 MB / 2.429 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/5.196, allocations: 0 / 2.429 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006683/5.196, allocations: 466.4 kB / 2.429 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/5.198, allocations: 223.4 kB / 2.43 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/5.201, allocations: 1.713 MB / 2.431 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/5.202, allocations: 1.103 MB / 2.432 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008024/5.203, allocations: 266.5 kB / 2.433 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/5.203, allocations: 451.2 kB / 2.433 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/5.203, allocations: 0 / 2.433 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.044/5.247, allocations: 24.59 MB / 2.457 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/5.247, allocations: 195.7 kB / 2.457 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/8.017, allocations: 0 / 2.457 GB, free: 192.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)