Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001266/0.001267, allocations: 172.5 kB / 7.646 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.7656/0.7656, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.596/1.596, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.000999/0.000999, allocations: 100.3 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.933e-05, allocations: 0 / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5207, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.455/4.976, allocations: 1.694 GB / 2.328 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/4.976, allocations: 95.94 kB / 2.328 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1289/5.105, allocations: 59.31 MB / 2.386 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.665e-06/5.105, allocations: 0 / 2.386 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.552e-05/5.105, allocations: 27.94 kB / 2.386 GB, free: 19.8 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002067/5.108, allocations: 1.09 MB / 2.387 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/5.108, allocations: 8.031 kB / 2.387 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008515/5.108, allocations: 194.4 kB / 2.387 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/5.109, allocations: 0.6153 MB / 2.388 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/5.109, allocations: 28 kB / 2.388 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/5.109, allocations: 51.98 kB / 2.388 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/5.111, allocations: 1.003 MB / 2.389 GB, free: 16.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/5.112, allocations: 0.7505 MB / 2.389 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/5.112, allocations: 7.938 kB / 2.389 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/5.112, allocations: 0 / 2.389 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/5.112, allocations: 27.95 kB / 2.389 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/5.115, allocations: 2.392 MB / 2.392 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/5.117, allocations: 0.7931 MB / 2.392 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/5.117, allocations: 247.2 kB / 2.393 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.643e-05/5.117, allocations: 36.8 kB / 2.393 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/5.117, allocations: 403.7 kB / 2.393 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.014e-06/5.117, allocations: 0 / 2.393 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001478/5.119, allocations: 0.6836 MB / 2.394 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/5.119, allocations: 244.1 kB / 2.394 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/5.12, allocations: 0.4906 MB / 2.395 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/5.12, allocations: 25.7 kB / 2.395 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/5.12, allocations: 384.2 kB / 2.395 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/5.12, allocations: 248.3 kB / 2.395 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/5.12, allocations: 0 / 2.395 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/5.12, allocations: 374.8 kB / 2.396 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/5.12, allocations: 197.5 kB / 2.396 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/5.121, allocations: 299.5 kB / 2.396 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/5.121, allocations: 256.4 kB / 2.396 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/5.121, allocations: 0 / 2.396 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001339/5.122, allocations: 0.6797 MB / 2.397 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/5.123, allocations: 8.062 kB / 2.397 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/5.123, allocations: 4 kB / 2.397 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/5.123, allocations: 80.77 kB / 2.397 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/5.124, allocations: 147.8 kB / 2.397 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/5.125, allocations: 1.449 MB / 2.399 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/5.126, allocations: 63.56 kB / 2.399 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/5.126, allocations: 31.97 kB / 2.399 GB, free: 6.051 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: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001564/5.126, allocations: 120.8 kB / 2.399 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001378/5.127, allocations: 0.6836 MB / 2.399 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/5.128, allocations: 71.16 kB / 2.399 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/5.129, allocations: 0.9735 MB / 2.4 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/5.129, allocations: 8 kB / 2.4 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/5.129, allocations: 3.938 kB / 2.4 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/5.129, allocations: 7.922 kB / 2.4 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/5.132, allocations: 1.765 MB / 2.402 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/5.132, allocations: 3.938 kB / 2.402 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/5.133, allocations: 159.8 kB / 2.402 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/5.133, allocations: 84.77 kB / 2.402 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/5.133, allocations: 15.98 kB / 2.402 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/5.135, allocations: 1.477 MB / 2.404 GB, free: 488 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/5.135, allocations: 0 / 2.404 GB, free: 488 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4042/5.539, allocations: 0.8659 MB / 2.405 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/5.539, allocations: 282 kB / 2.405 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/5.539, allocations: 5.141 kB / 2.405 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/5.54, allocations: 55.92 kB / 2.405 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/5.54, allocations: 64.75 kB / 2.405 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/5.54, allocations: 33.81 kB / 2.405 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006756/5.541, allocations: 407.9 kB / 2.406 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/5.541, allocations: 3.656 kB / 2.406 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001597/5.543, allocations: 346.4 kB / 2.406 GB, free: 227.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.004937/5.548, allocations: 2.411 MB / 2.408 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001516/5.549, allocations: 0.6712 MB / 2.409 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/5.549, allocations: 0.6875 kB / 2.409 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008424/5.55, allocations: 464.8 kB / 2.409 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/5.551, allocations: 218.2 kB / 2.41 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/5.557, allocations: 1.52 MB / 2.411 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/5.558, allocations: 1.033 MB / 2.412 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001618/5.56, allocations: 260.2 kB / 2.412 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008027/5.561, allocations: 366.8 kB / 2.413 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.695e-06/5.561, allocations: 3.172 kB / 2.413 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05503/5.616, allocations: 23.61 MB / 2.436 GB, free: 224 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/5.616, allocations: 193.7 kB / 2.436 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/8.532, allocations: 0 / 2.436 GB, free: 223.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)