Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001088/0.001088, 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.8559/0.8559, 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.717/1.717, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0008447/0.0008447, allocations: 103.2 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.256e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5209/0.5209, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.729/5.25, allocations: 1.693 GB / 2.327 GB, free: 43.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/5.251, allocations: 91.12 kB / 2.327 GB, free: 43.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6333/5.884, allocations: 57.78 MB / 2.383 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/5.884, allocations: 0 / 2.383 GB, free: 234.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.904e-05/5.884, allocations: 19.19 kB / 2.383 GB, free: 234.5 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00198/5.886, allocations: 1.052 MB / 2.384 GB, free: 234 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/5.886, allocations: 9 kB / 2.384 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/5.887, allocations: 185.8 kB / 2.384 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/5.888, allocations: 0.6078 MB / 2.385 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/5.888, allocations: 25.84 kB / 2.385 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/5.888, allocations: 42.81 kB / 2.385 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001565/5.89, allocations: 0.9618 MB / 2.386 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/5.891, allocations: 0.695 MB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/5.891, allocations: 0 / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/5.891, allocations: 1.25 kB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/5.891, allocations: 19.19 kB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/5.895, allocations: 2.216 MB / 2.389 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/5.896, allocations: 0.7115 MB / 2.39 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/5.896, allocations: 239.2 kB / 2.39 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.144e-05/5.896, allocations: 30.66 kB / 2.39 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/5.897, allocations: 374.6 kB / 2.39 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.024e-06/5.897, allocations: 0 / 2.39 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001389/5.898, allocations: 0.6243 MB / 2.391 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/5.898, allocations: 238.5 kB / 2.391 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/5.899, allocations: 0.4918 MB / 2.392 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/5.899, allocations: 25.7 kB / 2.392 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/5.899, allocations: 370.2 kB / 2.392 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/5.899, allocations: 226.1 kB / 2.392 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/5.899, allocations: 0 / 2.392 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001045/5.899, allocations: 369.9 kB / 2.392 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/5.9, allocations: 181.2 kB / 2.393 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/5.9, allocations: 287.4 kB / 2.393 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/5.9, allocations: 228.8 kB / 2.393 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/5.9, allocations: 0 / 2.393 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00123/5.901, allocations: 0.6189 MB / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/5.901, allocations: 10.12 kB / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/5.901, allocations: 0 / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/5.902, allocations: 80.41 kB / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/5.903, allocations: 129.5 kB / 2.394 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/5.904, allocations: 1.457 MB / 2.395 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/5.905, allocations: 59.75 kB / 2.395 GB, free: 230 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/5.905, allocations: 25.98 kB / 2.395 GB, free: 230 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 (72): * Single equations (assignments): 71 * 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.0001531/5.905, allocations: 119.8 kB / 2.396 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001227/5.906, allocations: 0.6208 MB / 2.396 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/5.906, allocations: 70.94 kB / 2.396 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/5.908, allocations: 0.8692 MB / 2.397 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/5.908, allocations: 7.5 kB / 2.397 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/5.908, allocations: 3.172 kB / 2.397 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/5.908, allocations: 6.328 kB / 2.397 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/5.911, allocations: 1.652 MB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/5.911, allocations: 0 / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/5.911, allocations: 138.3 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/5.912, allocations: 85.91 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/5.912, allocations: 14.75 kB / 2.399 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/5.913, allocations: 1.485 MB / 2.4 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/5.913, allocations: 2.594 kB / 2.4 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/5.915, allocations: 0.7967 MB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/5.915, allocations: 271.8 kB / 2.401 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/5.915, allocations: 3.219 kB / 2.401 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/5.916, allocations: 51.88 kB / 2.401 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/5.916, allocations: 61.27 kB / 2.402 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/5.916, allocations: 26.17 kB / 2.402 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004287/5.916, allocations: 403.2 kB / 2.402 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.916, allocations: 0 / 2.402 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001084/5.917, allocations: 317 kB / 2.402 GB, free: 227.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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.003351/5.921, allocations: 2.319 MB / 2.405 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001074/5.922, allocations: 0.6239 MB / 2.405 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/5.922, allocations: 2.594 kB / 2.405 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005699/5.922, allocations: 433.3 kB / 2.406 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/5.924, allocations: 219.5 kB / 2.406 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/5.928, allocations: 1.444 MB / 2.407 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/5.928, allocations: 1.013 MB / 2.408 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008411/5.929, allocations: 242.9 kB / 2.408 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/5.929, allocations: 332.7 kB / 2.409 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.844e-06/5.93, allocations: 0 / 2.409 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05245/5.982, allocations: 22.62 MB / 2.431 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/5.982, allocations: 192.5 kB / 2.431 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/8.77, allocations: 0 / 2.431 GB, free: 217.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)