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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.137/2.137, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 132.3 MB / 423.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004042, allocations: 8 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5953/0.5958, allocations: 81.58 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004962/0.6008, allocations: 3.5 MB / 0.5864 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1943/0.7951, allocations: 127.5 MB / 0.7109 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009444/0.7961, allocations: 15.88 kB / 0.7109 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.7966, allocations: 71.39 kB / 0.7109 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.7982, allocations: 459 kB / 0.7114 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.8002, allocations: 0.6026 MB / 0.712 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.8017, allocations: 0.7442 MB / 0.7127 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008215/0.8026, allocations: 0.5342 MB / 0.7132 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.8031, allocations: 298.6 kB / 0.7135 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005271/0.8036, allocations: 306.3 kB / 0.7138 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-05/0.8038, allocations: 23.98 kB / 0.7138 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.8049, allocations: 307.6 kB / 0.7141 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.8053, allocations: 167.3 kB / 0.7143 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.8055, allocations: 185.1 kB / 0.7144 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.8072, allocations: 1.126 MB / 0.7155 GB, free: 8.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8072, allocations: 0 / 0.7155 GB, free: 8.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.356e-06/0.8072, allocations: 0 / 0.7155 GB, free: 8.508 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.8072, allocations: 0 / 0.7155 GB, free: 8.508 MB / 0.545 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.00241/0.8096, allocations: 1.186 MB / 0.7167 GB, free: 7.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.8097, allocations: 8.031 kB / 0.7167 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.8099, allocations: 139.6 kB / 0.7168 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.8111, allocations: 226.3 kB / 0.7171 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.8122, allocations: 0.6992 MB / 0.7177 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.8123, allocations: 66 kB / 0.7178 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.8124, allocations: 84 kB / 0.7179 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.814, allocations: 0.9331 MB / 0.7188 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.814, allocations: 4 kB / 0.7188 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.8141, allocations: 40 kB / 0.7188 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.8141, allocations: 20 kB / 0.7189 GB, free: 4.973 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.8161, allocations: 1.136 MB / 0.72 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/0.8212, allocations: 2.503 MB / 0.7224 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.8246, allocations: 0.8896 MB / 0.7233 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.8247, allocations: 24.69 kB / 0.7233 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.826, allocations: 439.3 kB / 0.7237 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 4.669e-06/0.826, allocations: 0 / 0.7237 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.004415/0.8305, allocations: 1.104 MB / 0.7248 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.8306, allocations: 192.6 kB / 0.725 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.8319, allocations: 0.594 MB / 0.7256 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.8321, allocations: 41.7 kB / 0.7256 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.8326, allocations: 408.1 kB / 0.726 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.8329, allocations: 236.5 kB / 0.7262 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.833, allocations: 15.94 kB / 0.7262 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.8332, allocations: 382.8 kB / 0.7266 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007725/0.834, allocations: 221.2 kB / 0.7268 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/0.8349, allocations: 326.7 kB / 0.7271 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.8357, allocations: 267.1 kB / 0.7274 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.8357, allocations: 0 / 0.7274 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002669/0.8384, allocations: 0.7469 MB / 0.7281 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.8385, allocations: 8 kB / 0.7281 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.8385, allocations: 3.984 kB / 0.7281 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/0.8393, allocations: 80.86 kB / 0.7282 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.8403, allocations: 143.8 kB / 0.7283 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.8432, allocations: 1.526 MB / 0.7298 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.8444, allocations: 83.44 kB / 0.7299 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/0.8445, allocations: 31.97 kB / 0.7299 GB, free: 9.246 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0007637/0.8453, allocations: 253.6 kB / 0.7302 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.8455, allocations: 75.06 kB / 0.7302 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/0.8497, allocations: 1.018 MB / 0.7312 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.8497, allocations: 15.94 kB / 0.7313 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.8498, allocations: 3.953 kB / 0.7313 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.8498, allocations: 3.984 kB / 0.7313 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006322/0.8561, allocations: 1.907 MB / 0.7331 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.8562, allocations: 0 / 0.7331 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.8574, allocations: 147.8 kB / 0.7333 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009633/0.8584, allocations: 88.77 kB / 0.7334 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.8585, allocations: 23.98 kB / 0.7334 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.8617, allocations: 1.556 MB / 0.7349 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8617, allocations: 0 / 0.7349 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/0.8654, allocations: 0.9297 MB / 0.7358 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008566/0.8663, allocations: 267.8 kB / 0.7361 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.8666, allocations: 16 kB / 0.7361 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.8679, allocations: 71.94 kB / 0.7361 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.8681, allocations: 60.88 kB / 0.7362 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.8683, allocations: 35.97 kB / 0.7362 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001253/0.8696, allocations: 435 kB / 0.7366 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8696, allocations: 0 / 0.7366 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001793/0.8714, allocations: 303 kB / 0.7369 GB, free: 1.816 MB / 0.5606 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) * Number of clocked states: 0 () * 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.007044/0.8784, allocations: 1.953 MB / 0.7388 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.882, allocations: 0.7358 MB / 0.7396 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.882, allocations: 3.938 kB / 0.7396 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.8836, allocations: 0.4962 MB / 0.7401 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.8861, allocations: 233.7 kB / 0.7403 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0212/0.9074, allocations: 5.234 MB / 0.7454 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.9088, allocations: 1.042 MB / 0.7464 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00203/0.9108, allocations: 258.2 kB / 0.7466 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.9119, allocations: 375.3 kB / 0.747 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.912, allocations: 4 kB / 0.747 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08261/0.9946, allocations: 20.28 MB / 0.7668 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003681/0.995, allocations: 275.6 kB / 0.7671 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/4.232, allocations: 3.438 kB / 0.7671 GB, free: 3.379 MB / 0.5919 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) Environment - environmentSimulation: