Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_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.001516/0.001516, allocations: 174.7 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 0.7097/0.7097, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.0009503/0.0009502, allocations: 92.81 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.571e-05, allocations: 7.078 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.167, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.043/5.211, allocations: 1.694 GB / 2.335 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/5.211, allocations: 90.45 kB / 2.335 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1535/5.364, allocations: 68.39 MB / 2.401 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.765e-06/5.365, allocations: 0 / 2.401 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001533/5.365, allocations: 31.88 kB / 2.401 GB, free: 140.9 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.003262/5.368, allocations: 1.109 MB / 2.403 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/5.368, allocations: 8.031 kB / 2.403 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003847/5.368, allocations: 145 kB / 2.403 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/5.37, allocations: 214.4 kB / 2.403 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/5.371, allocations: 0.6191 MB / 2.403 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/5.371, allocations: 66.81 kB / 2.404 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/5.372, allocations: 84.12 kB / 2.404 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/5.373, allocations: 0.9107 MB / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/5.373, allocations: 0 / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/5.374, allocations: 44.92 kB / 2.405 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/5.374, allocations: 23.95 kB / 2.405 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/5.375, allocations: 1.079 MB / 2.406 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/5.38, allocations: 2.505 MB / 2.408 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/5.381, allocations: 0.8307 MB / 2.409 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/5.382, allocations: 263.2 kB / 2.409 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.183e-05/5.382, allocations: 32.8 kB / 2.409 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/5.382, allocations: 421.4 kB / 2.41 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.065e-06/5.382, allocations: 0 / 2.41 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.00154/5.384, allocations: 0.6798 MB / 2.41 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/5.384, allocations: 252 kB / 2.41 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/5.385, allocations: 0.5855 MB / 2.411 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/5.385, allocations: 41.69 kB / 2.411 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/5.385, allocations: 400.1 kB / 2.411 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/5.385, allocations: 244.5 kB / 2.412 GB, free: 131 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/5.385, allocations: 12 kB / 2.412 GB, free: 131 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001008/5.385, allocations: 378.8 kB / 2.412 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/5.386, allocations: 201.5 kB / 2.412 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/5.386, allocations: 305.1 kB / 2.413 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/5.386, allocations: 250 kB / 2.413 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.386, allocations: 4 kB / 2.413 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001309/5.388, allocations: 0.6876 MB / 2.413 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/5.388, allocations: 8 kB / 2.413 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/5.388, allocations: 4.062 kB / 2.413 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/5.388, allocations: 76.78 kB / 2.414 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/5.389, allocations: 143.8 kB / 2.414 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/5.391, allocations: 1.508 MB / 2.415 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/5.391, allocations: 91.42 kB / 2.415 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/5.391, allocations: 27.98 kB / 2.415 GB, free: 127.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 (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.0001472/5.391, allocations: 141.9 kB / 2.415 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/5.391, allocations: 83.06 kB / 2.415 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/5.393, allocations: 0.9615 MB / 2.416 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/5.393, allocations: 11.94 kB / 2.416 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/5.393, allocations: 11.95 kB / 2.416 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/5.393, allocations: 3.984 kB / 2.416 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/5.396, allocations: 1.896 MB / 2.418 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/5.396, allocations: 0 / 2.418 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/5.397, allocations: 143.8 kB / 2.418 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/5.397, allocations: 84.77 kB / 2.419 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/5.397, allocations: 23.98 kB / 2.419 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/5.399, allocations: 1.544 MB / 2.42 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/5.399, allocations: 3.938 kB / 2.42 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/5.4, allocations: 0.8767 MB / 2.421 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/5.401, allocations: 287.7 kB / 2.421 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/5.401, allocations: 16 kB / 2.421 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/5.401, allocations: 76 kB / 2.421 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/5.401, allocations: 56.66 kB / 2.421 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/5.402, allocations: 35.97 kB / 2.421 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006413/5.402, allocations: 487.1 kB / 2.422 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/5.402, allocations: 0 / 2.422 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001255/5.403, allocations: 367 kB / 2.422 GB, free: 119.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 (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.003919/5.407, allocations: 2.333 MB / 2.424 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001398/5.409, allocations: 0.6903 MB / 2.425 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/5.409, allocations: 0 / 2.425 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008005/5.41, allocations: 470.9 kB / 2.426 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/5.411, allocations: 241.3 kB / 2.426 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/5.417, allocations: 1.591 MB / 2.427 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/5.417, allocations: 1.045 MB / 2.428 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001054/5.418, allocations: 258.2 kB / 2.429 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/5.419, allocations: 379.3 kB / 2.429 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.873e-06/5.419, allocations: 4 kB / 2.429 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05903/5.478, allocations: 31.27 MB / 2.46 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/5.478, allocations: 247 kB / 2.46 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/8.85, allocations: 0 / 2.46 GB, free: 81.51 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)