Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_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.001116/0.001115, allocations: 176.2 kB / 7.649 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.813/0.813, 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.684/1.684, allocations: 221.5 MB / 395.5 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.0009496/0.0009498, allocations: 105 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.342e-05, allocations: 4 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.651/0.651, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.863/5.514, allocations: 1.694 GB / 2.328 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/5.514, allocations: 93.38 kB / 2.328 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5608/6.075, allocations: 59.3 MB / 2.386 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.566e-06/6.075, allocations: 1.562 kB / 2.386 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001431/6.075, allocations: 22.03 kB / 2.386 GB, free: 230.7 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.002721/6.078, allocations: 1.101 MB / 2.387 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/6.078, allocations: 9.031 kB / 2.387 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/6.079, allocations: 187 kB / 2.387 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/6.081, allocations: 0.622 MB / 2.388 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/6.081, allocations: 27 kB / 2.388 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/6.081, allocations: 50.69 kB / 2.388 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002107/6.083, allocations: 1.008 MB / 2.389 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/6.085, allocations: 0.7472 MB / 2.389 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/6.085, allocations: 0 / 2.389 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/6.085, allocations: 1.812 kB / 2.389 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/6.085, allocations: 20.84 kB / 2.389 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005/6.09, allocations: 2.402 MB / 2.392 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/6.092, allocations: 0.7881 MB / 2.392 GB, free: 229 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/6.092, allocations: 249.7 kB / 2.393 GB, free: 229 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/6.092, allocations: 41.7 kB / 2.393 GB, free: 229 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007518/6.093, allocations: 403.3 kB / 2.393 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.946e-06/6.093, allocations: 0 / 2.393 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.002151/6.095, allocations: 0.6857 MB / 2.394 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/6.095, allocations: 240.6 kB / 2.394 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/6.096, allocations: 0.501 MB / 2.395 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/6.096, allocations: 27.36 kB / 2.395 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/6.097, allocations: 380.8 kB / 2.395 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/6.097, allocations: 237.8 kB / 2.395 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/6.097, allocations: 1.938 kB / 2.395 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001578/6.097, allocations: 377.7 kB / 2.396 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/6.098, allocations: 194.1 kB / 2.396 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/6.098, allocations: 301.4 kB / 2.396 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/6.099, allocations: 256.1 kB / 2.396 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/6.099, allocations: 2.062 kB / 2.396 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001566/6.1, allocations: 0.6719 MB / 2.397 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/6.1, allocations: 6.219 kB / 2.397 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/6.1, allocations: 4.891 kB / 2.397 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/6.101, allocations: 81.03 kB / 2.397 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/6.101, allocations: 147.4 kB / 2.397 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/6.103, allocations: 1.456 MB / 2.399 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/6.104, allocations: 64.77 kB / 2.399 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/6.104, allocations: 29.02 kB / 2.399 GB, free: 226.3 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.0001869/6.104, allocations: 120.2 kB / 2.399 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001595/6.106, allocations: 0.6869 MB / 2.399 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/6.106, allocations: 73.14 kB / 2.399 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/6.108, allocations: 0.9659 MB / 2.4 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/6.108, allocations: 9.625 kB / 2.4 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/6.108, allocations: 3.75 kB / 2.4 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/6.108, allocations: 11.73 kB / 2.4 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/6.111, allocations: 1.769 MB / 2.402 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/6.111, allocations: 0 / 2.402 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/6.111, allocations: 158.6 kB / 2.402 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/6.112, allocations: 80.62 kB / 2.402 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/6.112, allocations: 18.73 kB / 2.402 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/6.113, allocations: 1.481 MB / 2.404 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/6.114, allocations: 0 / 2.404 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/6.115, allocations: 0.8688 MB / 2.405 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/6.115, allocations: 284.5 kB / 2.405 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/6.116, allocations: 0 / 2.405 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/6.116, allocations: 56 kB / 2.405 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/6.116, allocations: 67.02 kB / 2.405 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/6.116, allocations: 36.02 kB / 2.405 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004906/6.117, allocations: 403.8 kB / 2.406 GB, free: 224 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/6.117, allocations: 3 kB / 2.406 GB, free: 224 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001305/6.118, allocations: 350.8 kB / 2.406 GB, free: 223.9 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.00425/6.122, allocations: 2.404 MB / 2.408 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001463/6.124, allocations: 0.6768 MB / 2.409 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/6.124, allocations: 0 / 2.409 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006439/6.125, allocations: 471.6 kB / 2.409 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/6.126, allocations: 217.3 kB / 2.41 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/6.13, allocations: 1.517 MB / 2.411 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/6.131, allocations: 1.032 MB / 2.412 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009576/6.132, allocations: 260.6 kB / 2.412 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/6.132, allocations: 366.6 kB / 2.413 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.804e-06/6.132, allocations: 0 / 2.413 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05405/6.186, allocations: 23.61 MB / 2.436 GB, free: 220 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/6.186, allocations: 189 kB / 2.436 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/9.027, allocations: 0 / 2.436 GB, free: 219.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)