Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.00918/0.00918, allocations: 170.8 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8244/0.8244, allocations: 135.2 MB / 151 MB, free: 13.81 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.49/1.49, allocations: 223.2 MB / 406.8 MB, free: 3.211 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.0009797/0.0009796, allocations: 97.33 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004079, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3961, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.004/4.4, allocations: 1.695 GB / 2.345 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/4.4, allocations: 87.95 kB / 2.345 GB, free: 21.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6352/5.035, allocations: 94.67 MB / 2.437 GB, free: 205 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/5.035, allocations: 0 / 2.437 GB, free: 205 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001263/5.036, allocations: 32 kB / 2.437 GB, free: 204.9 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003792/5.039, allocations: 1.531 MB / 2.439 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/5.04, allocations: 11.97 kB / 2.439 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004744/5.04, allocations: 207.2 kB / 2.439 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/5.041, allocations: 245.9 kB / 2.439 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/5.043, allocations: 0.7909 MB / 2.44 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/5.043, allocations: 106.9 kB / 2.44 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/5.043, allocations: 136 kB / 2.44 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/5.045, allocations: 1.416 MB / 2.442 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/5.045, allocations: 3.938 kB / 2.442 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/5.045, allocations: 60 kB / 2.442 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/5.045, allocations: 32 kB / 2.442 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/5.047, allocations: 1.521 MB / 2.443 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0055/5.053, allocations: 3.811 MB / 2.447 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/5.054, allocations: 0.9702 MB / 2.448 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.873e-05/5.054, allocations: 52.75 kB / 2.448 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008403/5.055, allocations: 0.5797 MB / 2.449 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 2.505e-06/5.055, allocations: 0 / 2.449 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.003288/5.059, allocations: 1.49 MB / 2.45 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/5.059, allocations: 244.3 kB / 2.45 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009227/5.06, allocations: 0.7387 MB / 2.451 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/5.06, allocations: 49.7 kB / 2.451 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/5.06, allocations: 0.5543 MB / 2.452 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/5.06, allocations: 343 kB / 2.452 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/5.061, allocations: 16 kB / 2.452 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/5.061, allocations: 341.9 kB / 2.452 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/5.061, allocations: 337.8 kB / 2.453 GB, free: 189 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/5.062, allocations: 479.3 kB / 2.453 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/5.062, allocations: 410.8 kB / 2.453 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/5.063, allocations: 0 / 2.453 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002067/5.065, allocations: 1.067 MB / 2.454 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/5.065, allocations: 5.25 kB / 2.454 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/5.065, allocations: 0 / 2.454 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/5.065, allocations: 88.83 kB / 2.454 GB, free: 187 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/5.066, allocations: 211.7 kB / 2.455 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/5.068, allocations: 1.541 MB / 2.456 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008822/5.069, allocations: 115 kB / 2.456 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/5.069, allocations: 47.95 kB / 2.456 GB, free: 184.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 (116): * Single equations (assignments): 115 * 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.0006902/5.07, allocations: 304.6 kB / 2.457 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/5.07, allocations: 106.7 kB / 2.457 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/5.073, allocations: 1.423 MB / 2.458 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/5.073, allocations: 12 kB / 2.458 GB, free: 183 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/5.073, allocations: 4 kB / 2.458 GB, free: 183 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/5.073, allocations: 3.984 kB / 2.458 GB, free: 183 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/5.077, allocations: 2.633 MB / 2.461 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/5.077, allocations: 0 / 2.461 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/5.078, allocations: 191.7 kB / 2.461 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/5.078, allocations: 96.7 kB / 2.461 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/5.078, allocations: 23.98 kB / 2.461 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/5.08, allocations: 1.571 MB / 2.463 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/5.08, allocations: 0 / 2.463 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/5.082, allocations: 1.179 MB / 2.464 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/5.082, allocations: 367.1 kB / 2.464 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/5.083, allocations: 24 kB / 2.464 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/5.083, allocations: 67.95 kB / 2.464 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/5.083, allocations: 80.88 kB / 2.464 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-05/5.084, allocations: 39.94 kB / 2.464 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007669/5.084, allocations: 0.62 MB / 2.465 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.282e-06/5.084, allocations: 0 / 2.465 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001467/5.086, allocations: 470.6 kB / 2.465 GB, free: 175.5 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.004482/5.09, allocations: 2.709 MB / 2.468 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002297/5.093, allocations: 1.003 MB / 2.469 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/5.093, allocations: 4 kB / 2.469 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/5.094, allocations: 0.6134 MB / 2.47 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/5.095, allocations: 243.8 kB / 2.47 GB, free: 171 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/5.107, allocations: 6.918 MB / 2.477 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/5.107, allocations: 1.193 MB / 2.478 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001008/5.108, allocations: 312.3 kB / 2.478 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/5.109, allocations: 0.5344 MB / 2.479 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of SimCode: time 6.62e-07/5.109, allocations: 0 / 2.479 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/5.162, allocations: 35.42 MB / 2.513 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/5.163, allocations: 266.4 kB / 2.513 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/8.48, allocations: 0 / 2.513 GB, free: 126.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)