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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008163/0.0008164, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008496/0.0008497, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9486/0.9486, allocations: 135.3 MB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 8 kB / 0.5071 GB, free: 5.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 82.32 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004532/0.1636, allocations: 3.545 MB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.42/0.5837, allocations: 136.7 MB / 0.7244 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.5844, allocations: 18.59 kB / 0.7244 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.5849, allocations: 134.6 kB / 0.7246 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.5862, allocations: 388.9 kB / 0.7249 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.5881, allocations: 0.6107 MB / 0.7255 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.5893, allocations: 1.025 MB / 0.7265 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007902/0.5901, allocations: 0.5241 MB / 0.727 GB, free: 6.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.5906, allocations: 300.2 kB / 0.7273 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.5911, allocations: 322.6 kB / 0.7276 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.5912, allocations: 26.48 kB / 0.7277 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008309/0.592, allocations: 333.5 kB / 0.728 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.5922, allocations: 173.7 kB / 0.7281 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.5924, allocations: 186.7 kB / 0.7283 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.5938, allocations: 1.124 MB / 0.7294 GB, free: 5.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5938, allocations: 0 / 0.7294 GB, free: 5.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.146e-06/0.5938, allocations: 0 / 0.7294 GB, free: 5.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.5938, allocations: 5.031 kB / 0.7294 GB, free: 5.496 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.002038/0.5959, allocations: 1.174 MB / 0.7306 GB, free: 4.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5959, allocations: 12.5 kB / 0.7306 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.5961, allocations: 145.1 kB / 0.7307 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.5972, allocations: 222.2 kB / 0.7309 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.5982, allocations: 0.6939 MB / 0.7316 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.5983, allocations: 67.52 kB / 0.7317 GB, free: 4.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5984, allocations: 90.3 kB / 0.7318 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.6001, allocations: 0.9406 MB / 0.7327 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6001, allocations: 3.719 kB / 0.7327 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.6002, allocations: 36.44 kB / 0.7327 GB, free: 3.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.6003, allocations: 26.66 kB / 0.7327 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.6021, allocations: 1.123 MB / 0.7338 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/0.6061, allocations: 2.505 MB / 0.7363 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.6082, allocations: 0.8889 MB / 0.7372 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.6088, allocations: 284.7 kB / 0.7374 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.53e-05/0.6088, allocations: 30.02 kB / 0.7375 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008683/0.6097, allocations: 441.9 kB / 0.7379 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 3.076e-06/0.6097, allocations: 0 / 0.7379 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002849/0.6126, allocations: 1.105 MB / 0.739 GB, free: 252 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.6127, allocations: 194.8 kB / 0.7391 GB, free: 20 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.6134, allocations: 0.5852 MB / 0.7397 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.6135, allocations: 43.45 kB / 0.7398 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.6138, allocations: 405.8 kB / 0.7401 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.614, allocations: 244.6 kB / 0.7404 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.6141, allocations: 14.34 kB / 0.7404 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6142, allocations: 382.5 kB / 0.7408 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.6147, allocations: 219.7 kB / 0.741 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.6152, allocations: 326.3 kB / 0.7413 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.6157, allocations: 275.3 kB / 0.7415 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6157, allocations: 0 / 0.7415 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001656/0.6174, allocations: 0.7393 MB / 0.7423 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6174, allocations: 6.406 kB / 0.7423 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6174, allocations: 0 / 0.7423 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.618, allocations: 84.42 kB / 0.7424 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.6186, allocations: 143.8 kB / 0.7425 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.6206, allocations: 1.519 MB / 0.744 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.6212, allocations: 87.41 kB / 0.7441 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.6213, allocations: 31.97 kB / 0.7441 GB, free: 11.89 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.0005475/0.6219, allocations: 253.6 kB / 0.7443 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.622, allocations: 75.06 kB / 0.7444 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.6243, allocations: 1.019 MB / 0.7454 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6243, allocations: 8 kB / 0.7454 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6243, allocations: 7.953 kB / 0.7454 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.6243, allocations: 3.984 kB / 0.7454 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.6274, allocations: 1.904 MB / 0.7473 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6274, allocations: 0 / 0.7473 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.628, allocations: 151.8 kB / 0.7474 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.6285, allocations: 84.77 kB / 0.7475 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.6286, allocations: 23.98 kB / 0.7475 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.6302, allocations: 1.536 MB / 0.749 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.6302, allocations: 4.031 kB / 0.749 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.632, allocations: 0.9296 MB / 0.7499 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.6324, allocations: 267.8 kB / 0.7502 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.6325, allocations: 16 kB / 0.7502 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.6331, allocations: 76.91 kB / 0.7503 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.6332, allocations: 60.88 kB / 0.7503 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.6333, allocations: 31.98 kB / 0.7504 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005365/0.6339, allocations: 435 kB / 0.7508 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.074e-06/0.6339, allocations: 3.938 kB / 0.7508 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009125/0.6348, allocations: 303 kB / 0.7511 GB, free: 4.48 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.00318/0.638, allocations: 1.954 MB / 0.753 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.6395, allocations: 0.7425 MB / 0.7537 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6395, allocations: 3.938 kB / 0.7537 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008241/0.6403, allocations: 0.4891 MB / 0.7542 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6416, allocations: 256.5 kB / 0.7544 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009263/0.6508, allocations: 4.823 MB / 0.7591 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.6514, allocations: 1.015 MB / 0.7601 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000932/0.6524, allocations: 266.2 kB / 0.7604 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.6529, allocations: 371.3 kB / 0.7607 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.6529, allocations: 0 / 0.7607 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.6911, allocations: 20.31 MB / 0.7806 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.6914, allocations: 292.2 kB / 0.7809 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.09, allocations: 0 / 0.7809 GB, free: 6.398 MB / 0.5919 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) Environment - environmentSimulation: