Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.002555/0.002555, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.337/1.337, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.794/2.794, allocations: 221.3 MB / 400.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001354, allocations: 95.41 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.648e-05/7.693e-05, allocations: 3 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3162, allocations: 82.3 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.83/10.15, allocations: 1.694 GB / 2.334 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004679/10.15, allocations: 90.64 kB / 2.334 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1904/10.34, allocations: 59.24 MB / 2.392 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.472e-06/10.34, allocations: 0 / 2.392 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001631/10.34, allocations: 27.88 kB / 2.392 GB, free: 148.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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.003943/10.34, allocations: 1.06 MB / 2.393 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.623e-05/10.34, allocations: 16.03 kB / 2.393 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/10.34, allocations: 125.8 kB / 2.393 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/10.34, allocations: 190.5 kB / 2.393 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/10.35, allocations: 0.6132 MB / 2.394 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/10.35, allocations: 56.94 kB / 2.394 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/10.35, allocations: 74.38 kB / 2.394 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/10.35, allocations: 0.8292 MB / 2.395 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/10.35, allocations: 0 / 2.395 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/10.35, allocations: 37.88 kB / 2.395 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/10.35, allocations: 19.95 kB / 2.395 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/10.35, allocations: 1.027 MB / 2.396 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005515/10.36, allocations: 2.407 MB / 2.398 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/10.36, allocations: 0.7549 MB / 2.399 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/10.36, allocations: 254.7 kB / 2.399 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/10.36, allocations: 37.33 kB / 2.399 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009686/10.36, allocations: 411 kB / 2.4 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 6.151e-06/10.36, allocations: 3.984 kB / 2.4 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002182/10.36, allocations: 0.6893 MB / 2.4 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/10.36, allocations: 240.1 kB / 2.401 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/10.36, allocations: 0.5815 MB / 2.401 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-05/10.36, allocations: 41.64 kB / 2.401 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/10.36, allocations: 380.3 kB / 2.402 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/10.36, allocations: 236.6 kB / 2.402 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/10.36, allocations: 8 kB / 2.402 GB, free: 140 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001566/10.36, allocations: 378.8 kB / 2.402 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/10.36, allocations: 201.5 kB / 2.402 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/10.36, allocations: 301.1 kB / 2.403 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/10.36, allocations: 246 kB / 2.403 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/10.36, allocations: 4 kB / 2.403 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001943/10.37, allocations: 0.6837 MB / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/10.37, allocations: 5.094 kB / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/10.37, allocations: 3.938 kB / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007829/10.37, allocations: 80.84 kB / 2.404 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/10.37, allocations: 139.8 kB / 2.404 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/10.37, allocations: 1.513 MB / 2.405 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/10.37, allocations: 71.44 kB / 2.405 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/10.37, allocations: 31.92 kB / 2.405 GB, free: 136.2 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 (74): * Single equations (assignments): 73 * 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.0002989/10.37, allocations: 140.9 kB / 2.406 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/10.37, allocations: 83.05 kB / 2.406 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/10.38, allocations: 0.9693 MB / 2.407 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/10.38, allocations: 8 kB / 2.407 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/10.38, allocations: 4 kB / 2.407 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/10.38, allocations: 3.984 kB / 2.407 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004075/10.38, allocations: 1.87 MB / 2.408 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/10.38, allocations: 0 / 2.408 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007536/10.38, allocations: 147.8 kB / 2.409 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006416/10.38, allocations: 88.7 kB / 2.409 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/10.38, allocations: 27.98 kB / 2.409 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/10.38, allocations: 1.54 MB / 2.41 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/10.38, allocations: 4.062 kB / 2.41 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/10.39, allocations: 0.8766 MB / 2.411 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007629/10.39, allocations: 279.8 kB / 2.411 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/10.39, allocations: 19.94 kB / 2.411 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/10.39, allocations: 67.94 kB / 2.411 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/10.39, allocations: 56.7 kB / 2.411 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/10.39, allocations: 35.97 kB / 2.411 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001101/10.39, allocations: 475.1 kB / 2.412 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/10.39, allocations: 0 / 2.412 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002052/10.39, allocations: 363.1 kB / 2.412 GB, free: 128.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 (86): * Single equations (assignments): 83 * 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.005846/10.4, allocations: 2.34 MB / 2.415 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00209/10.4, allocations: 0.6786 MB / 2.415 GB, free: 126 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/10.4, allocations: 0 / 2.415 GB, free: 126 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/10.4, allocations: 470.9 kB / 2.416 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/10.4, allocations: 239.1 kB / 2.416 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/10.41, allocations: 1.548 MB / 2.417 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/10.41, allocations: 1.019 MB / 2.418 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001502/10.41, allocations: 254.1 kB / 2.419 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008094/10.41, allocations: 359.3 kB / 2.419 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of SimCode: time 4.078e-06/10.41, allocations: 0 / 2.419 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0956/10.51, allocations: 30.85 MB / 2.449 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/10.51, allocations: 247.5 kB / 2.449 GB, free: 91.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.871/16.38, allocations: 0 / 2.449 GB, free: 91.12 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)