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.001445/0.001445, allocations: 179.1 kB / 7.648 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.8653/0.8653, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.444/1.444, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009945/0.0009941, allocations: 105.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.21e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.424, allocations: 82.29 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.67/4.095, allocations: 1.693 GB / 2.327 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/4.095, allocations: 91.94 kB / 2.327 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1437/4.239, allocations: 67.54 MB / 2.393 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.475e-06/4.239, allocations: 0 / 2.393 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001396/4.239, allocations: 31.88 kB / 2.393 GB, free: 11.77 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.003063/4.242, allocations: 1.11 MB / 2.394 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/4.242, allocations: 8.031 kB / 2.394 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/4.243, allocations: 214.4 kB / 2.395 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/4.245, allocations: 0.627 MB / 2.395 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/4.245, allocations: 28 kB / 2.395 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/4.245, allocations: 52 kB / 2.395 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001458/4.246, allocations: 1.026 MB / 2.396 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/4.247, allocations: 0.7733 MB / 2.397 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/4.247, allocations: 4 kB / 2.397 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/4.248, allocations: 0 / 2.397 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/4.248, allocations: 23.95 kB / 2.397 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/4.251, allocations: 2.329 MB / 2.399 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/4.252, allocations: 0.7924 MB / 2.4 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/4.253, allocations: 244.4 kB / 2.4 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/4.253, allocations: 28.83 kB / 2.4 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/4.253, allocations: 399.7 kB / 2.401 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.246e-06/4.253, allocations: 0 / 2.401 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001475/4.255, allocations: 0.6525 MB / 2.401 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/4.255, allocations: 240.1 kB / 2.402 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/4.256, allocations: 498.3 kB / 2.402 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/4.256, allocations: 25.7 kB / 2.402 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/4.256, allocations: 411.9 kB / 2.403 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/4.256, allocations: 228.5 kB / 2.403 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/4.256, allocations: 4 kB / 2.403 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/4.256, allocations: 378.7 kB / 2.403 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/4.256, allocations: 189.5 kB / 2.403 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/4.257, allocations: 283.5 kB / 2.404 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/4.257, allocations: 236.5 kB / 2.404 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/4.257, allocations: 0 / 2.404 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001206/4.258, allocations: 0.6485 MB / 2.404 GB, free: 8 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/4.258, allocations: 4 kB / 2.404 GB, free: 4 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/4.258, allocations: 0 / 2.404 GB, free: 4 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4808/4.739, allocations: 81.81 kB / 2.405 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/4.74, allocations: 142.8 kB / 2.405 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/4.742, allocations: 1.446 MB / 2.406 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/4.743, allocations: 67.34 kB / 2.406 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/4.743, allocations: 30.16 kB / 2.406 GB, free: 227.5 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.0002169/4.743, allocations: 123.5 kB / 2.406 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001667/4.745, allocations: 0.6462 MB / 2.407 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/4.745, allocations: 74.28 kB / 2.407 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/4.747, allocations: 0.8915 MB / 2.408 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/4.747, allocations: 11.23 kB / 2.408 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/4.747, allocations: 3.641 kB / 2.408 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/4.747, allocations: 4.594 kB / 2.408 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/4.751, allocations: 1.703 MB / 2.41 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/4.751, allocations: 3.781 kB / 2.41 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/4.751, allocations: 149.1 kB / 2.41 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005393/4.752, allocations: 86.77 kB / 2.41 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/4.752, allocations: 14.33 kB / 2.41 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/4.754, allocations: 1.482 MB / 2.411 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/4.754, allocations: 0 / 2.411 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/4.756, allocations: 0.8205 MB / 2.412 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/4.756, allocations: 280.7 kB / 2.412 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/4.756, allocations: 7.922 kB / 2.412 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/4.757, allocations: 49.89 kB / 2.412 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/4.757, allocations: 65.41 kB / 2.412 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/4.757, allocations: 28.42 kB / 2.412 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006966/4.758, allocations: 399.3 kB / 2.413 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/4.758, allocations: 0 / 2.413 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001332/4.759, allocations: 342.5 kB / 2.413 GB, free: 225.2 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.004707/4.764, allocations: 2.35 MB / 2.415 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00144/4.765, allocations: 0.6411 MB / 2.416 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/4.765, allocations: 1.062 kB / 2.416 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007366/4.766, allocations: 450.8 kB / 2.417 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/4.767, allocations: 223.9 kB / 2.417 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/4.772, allocations: 1.525 MB / 2.418 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/4.773, allocations: 1.04 MB / 2.419 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001073/4.774, allocations: 256.6 kB / 2.419 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/4.775, allocations: 369.2 kB / 2.42 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.113e-06/4.775, allocations: 0 / 2.42 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07954/4.854, allocations: 23.22 MB / 2.443 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/4.855, allocations: 214.2 kB / 2.443 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/7.813, allocations: 0 / 2.443 GB, free: 221.2 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)