Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001366/0.001366, allocations: 175.4 kB / 7.648 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.785/0.785, allocations: 133.6 MB / 141.6 MB, free: 2.84 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.501/1.501, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0009145/0.0009143, allocations: 104.8 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.086e-05/2.079e-05, allocations: 4 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4398, allocations: 82.29 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.722/4.162, allocations: 1.693 GB / 2.327 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004781/4.163, allocations: 91.94 kB / 2.327 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1691/4.332, allocations: 67.54 MB / 2.393 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/4.332, allocations: 0 / 2.393 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001073/4.332, allocations: 27.94 kB / 2.393 GB, free: 11.98 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002475/4.335, allocations: 1.114 MB / 2.394 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/4.335, allocations: 8.031 kB / 2.394 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/4.336, allocations: 218.4 kB / 2.395 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/4.337, allocations: 0.6192 MB / 2.395 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/4.337, allocations: 32 kB / 2.395 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/4.337, allocations: 51.98 kB / 2.395 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/4.339, allocations: 1.019 MB / 2.396 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/4.34, allocations: 0.781 MB / 2.397 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/4.34, allocations: 0 / 2.397 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/4.341, allocations: 0 / 2.397 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/4.341, allocations: 27.95 kB / 2.397 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/4.345, allocations: 2.332 MB / 2.399 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/4.346, allocations: 0.7903 MB / 2.4 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/4.347, allocations: 244.4 kB / 2.4 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/4.347, allocations: 32.8 kB / 2.4 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/4.347, allocations: 387.8 kB / 2.401 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 4.198e-06/4.348, allocations: 4 kB / 2.401 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001639/4.349, allocations: 0.6485 MB / 2.401 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/4.349, allocations: 240.1 kB / 2.402 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/4.35, allocations: 0.4905 MB / 2.402 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/4.351, allocations: 25.7 kB / 2.402 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/4.351, allocations: 411.9 kB / 2.403 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/4.351, allocations: 228.5 kB / 2.403 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/4.351, allocations: 0 / 2.403 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000121/4.351, allocations: 374.8 kB / 2.403 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/4.352, allocations: 189.5 kB / 2.403 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/4.352, allocations: 295.5 kB / 2.404 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/4.352, allocations: 232.5 kB / 2.404 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/4.352, allocations: 0 / 2.404 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001447/4.354, allocations: 0.6446 MB / 2.404 GB, free: 236 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/4.354, allocations: 4 kB / 2.404 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/4.354, allocations: 4 kB / 2.404 GB, free: 228 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/4.355, allocations: 88.77 kB / 2.405 GB, free: 136 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/4.355, allocations: 135.8 kB / 2.405 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/4.864, allocations: 1.449 MB / 2.406 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/4.865, allocations: 65.7 kB / 2.406 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/4.865, allocations: 30.62 kB / 2.406 GB, free: 227.6 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 (75): * Single equations (assignments): 74 * 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.0002789/4.866, allocations: 119.2 kB / 2.406 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002487/4.868, allocations: 0.6519 MB / 2.407 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/4.868, allocations: 74.86 kB / 2.407 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/4.872, allocations: 0.898 MB / 2.408 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/4.872, allocations: 9.172 kB / 2.408 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/4.872, allocations: 3.125 kB / 2.408 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/4.872, allocations: 4.219 kB / 2.408 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005137/4.877, allocations: 1.704 MB / 2.41 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/4.877, allocations: 0.7188 kB / 2.41 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/4.878, allocations: 149.4 kB / 2.41 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007726/4.879, allocations: 82.84 kB / 2.41 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/4.879, allocations: 22.2 kB / 2.41 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/4.881, allocations: 1.479 MB / 2.411 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/4.881, allocations: 3.094 kB / 2.411 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/4.884, allocations: 0.8219 MB / 2.412 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006421/4.885, allocations: 277.6 kB / 2.412 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/4.885, allocations: 4.141 kB / 2.412 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/4.886, allocations: 55.12 kB / 2.412 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/4.886, allocations: 58.34 kB / 2.412 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/4.886, allocations: 33.95 kB / 2.412 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008733/4.887, allocations: 397.2 kB / 2.413 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/4.887, allocations: 2.656 kB / 2.413 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001877/4.889, allocations: 338.7 kB / 2.413 GB, free: 225.3 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 (85): * Single equations (assignments): 82 * 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.006267/4.895, allocations: 2.355 MB / 2.415 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001998/4.897, allocations: 0.6445 MB / 2.416 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/4.897, allocations: 1.938 kB / 2.416 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/4.898, allocations: 442.6 kB / 2.417 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/4.9, allocations: 226.1 kB / 2.417 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/4.906, allocations: 1.522 MB / 2.418 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/4.907, allocations: 1.034 MB / 2.419 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001417/4.909, allocations: 254.1 kB / 2.419 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007683/4.909, allocations: 372.5 kB / 2.42 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.497e-06/4.909, allocations: 0 / 2.42 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0734/4.983, allocations: 23.23 MB / 2.443 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/4.983, allocations: 209.2 kB / 2.443 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/8.147, allocations: 0 / 2.443 GB, free: 221.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)