Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001235/0.001235, 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.8107/0.8107, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.53/1.53, allocations: 221.5 MB / 395.5 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.0009968/0.0009968, allocations: 107.8 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/4.039e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4688, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.109/4.577, allocations: 1.697 GB / 2.331 GB, free: 39.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/4.578, allocations: 89.75 kB / 2.331 GB, free: 39.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6464/5.224, allocations: 98.76 MB / 2.428 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.745e-06/5.224, allocations: 0 / 2.428 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000175/5.225, allocations: 51.75 kB / 2.428 GB, free: 223.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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.005163/5.23, allocations: 1.919 MB / 2.43 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/5.23, allocations: 12.02 kB / 2.43 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/5.243, allocations: 1.884 MB / 2.432 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/5.246, allocations: 1.05 MB / 2.433 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/5.246, allocations: 64 kB / 2.433 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008404/5.247, allocations: 112 kB / 2.433 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006066/5.253, allocations: 2.861 MB / 2.436 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004661/5.257, allocations: 2.173 MB / 2.438 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/5.257, allocations: 0 / 2.438 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/5.258, allocations: 0 / 2.438 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.483e-05/5.258, allocations: 50.62 kB / 2.438 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/5.27, allocations: 6.393 MB / 2.444 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/5.273, allocations: 1.891 MB / 2.446 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/5.274, allocations: 1.006 MB / 2.447 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007243/5.275, allocations: 0.4981 MB / 2.447 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/5.276, allocations: 1.271 MB / 2.449 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 4.218e-06/5.276, allocations: 0 / 2.449 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.01152/5.288, allocations: 3.65 MB / 2.452 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/5.288, allocations: 253.3 kB / 2.452 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/5.289, allocations: 0.637 MB / 2.453 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/5.289, allocations: 29.64 kB / 2.453 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/5.29, allocations: 0.6449 MB / 2.454 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/5.29, allocations: 0.608 MB / 2.454 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/5.29, allocations: 3.938 kB / 2.454 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000119/5.29, allocations: 426.7 kB / 2.455 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/5.291, allocations: 0.7694 MB / 2.455 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/5.292, allocations: 0.9409 MB / 2.456 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0088/5.301, allocations: 2.457 MB / 2.459 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/5.301, allocations: 4 kB / 2.459 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01193/5.313, allocations: 3.684 MB / 2.462 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/5.313, allocations: 4 kB / 2.462 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/5.313, allocations: 3.984 kB / 2.462 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/5.314, allocations: 88.84 kB / 2.462 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/5.317, allocations: 0.561 MB / 2.463 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/5.319, allocations: 1.465 MB / 2.464 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/5.322, allocations: 302.4 kB / 2.465 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004459/5.323, allocations: 83.91 kB / 2.465 GB, free: 186 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.0007109/5.323, allocations: 127 kB / 2.465 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01295/5.336, allocations: 3.649 MB / 2.468 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/5.337, allocations: 134.3 kB / 2.469 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/5.352, allocations: 4.253 MB / 2.473 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/5.352, allocations: 20 kB / 2.473 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/5.352, allocations: 0 / 2.473 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.886e-05/5.352, allocations: 11.95 kB / 2.473 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/5.369, allocations: 6.266 MB / 2.479 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/5.369, allocations: 0 / 2.479 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/5.373, allocations: 0.5522 MB / 2.479 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/5.373, allocations: 90.17 kB / 2.479 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004543/5.374, allocations: 43.92 kB / 2.48 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/5.375, allocations: 1.48 MB / 2.481 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/5.375, allocations: 4.031 kB / 2.481 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/5.389, allocations: 3.833 MB / 2.485 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/5.39, allocations: 0.5298 MB / 2.485 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005731/5.391, allocations: 64 / 2.485 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/5.394, allocations: 243.7 kB / 2.485 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/5.394, allocations: 125.1 kB / 2.486 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/5.394, allocations: 83.91 kB / 2.486 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008159/5.395, allocations: 0.5304 MB / 2.486 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/5.395, allocations: 4 kB / 2.486 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002333/5.397, allocations: 0.5916 MB / 2.487 GB, free: 163.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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.01498/5.412, allocations: 5.411 MB / 2.492 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003956/5.416, allocations: 2.124 MB / 2.494 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/5.416, allocations: 0 / 2.494 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/5.418, allocations: 1.231 MB / 2.495 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/5.42, allocations: 240.3 kB / 2.496 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007908/5.428, allocations: 3.029 MB / 2.499 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008555/5.429, allocations: 1.365 MB / 2.5 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003893/5.433, allocations: 0.5499 MB / 2.5 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/5.435, allocations: 0.7608 MB / 2.501 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/5.435, allocations: 0 / 2.501 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07062/5.505, allocations: 40.94 MB / 2.541 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/5.505, allocations: 173.9 kB / 2.541 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/8.848, allocations: 0 / 2.541 GB, free: 107.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)