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.001608/0.001608, allocations: 99.55 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.001397/0.001397, allocations: 177.3 kB / 15.94 MB, free: 228 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.506/1.506, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9611/0.9611, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 11.98 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 82.31 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004585/0.2015, allocations: 3.482 MB / 0.5907 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5141/0.7156, allocations: 127.4 MB / 0.7151 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/0.7164, allocations: 17.12 kB / 0.7152 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.7167, allocations: 75.7 kB / 0.7152 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.7183, allocations: 457.8 kB / 0.7157 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.7204, allocations: 0.6087 MB / 0.7163 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.7219, allocations: 0.7426 MB / 0.717 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009011/0.7228, allocations: 0.5357 MB / 0.7175 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006341/0.7234, allocations: 312.4 kB / 0.7178 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.7239, allocations: 301 kB / 0.7181 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.724, allocations: 20.56 kB / 0.7181 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000927/0.7249, allocations: 305.6 kB / 0.7184 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.7251, allocations: 172.4 kB / 0.7186 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.7253, allocations: 186.4 kB / 0.7187 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.7269, allocations: 1.126 MB / 0.7198 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.7269, allocations: 0 / 0.7198 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7269, allocations: 0 / 0.7198 GB, free: 13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.7269, allocations: 1.062 kB / 0.7198 GB, free: 13 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.002217/0.7291, allocations: 1.173 MB / 0.721 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.7292, allocations: 8.469 kB / 0.721 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.7294, allocations: 148.6 kB / 0.7211 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.7305, allocations: 223.8 kB / 0.7213 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.7317, allocations: 0.6961 MB / 0.722 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.7317, allocations: 66.52 kB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7319, allocations: 87.88 kB / 0.7222 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.7336, allocations: 0.9388 MB / 0.7231 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.7336, allocations: 7 kB / 0.7231 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/0.7337, allocations: 37.31 kB / 0.7231 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.7338, allocations: 21.66 kB / 0.7232 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.7358, allocations: 1.13 MB / 0.7243 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004593/0.7404, allocations: 2.504 MB / 0.7267 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.7427, allocations: 0.8849 MB / 0.7276 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.7428, allocations: 34.89 kB / 0.7276 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/0.7437, allocations: 435.8 kB / 0.728 GB, free: 8.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.915e-06/0.7437, allocations: 0 / 0.728 GB, free: 8.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002916/0.7466, allocations: 1.103 MB / 0.7291 GB, free: 8.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.7467, allocations: 187.2 kB / 0.7293 GB, free: 8.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008011/0.7475, allocations: 0.5905 MB / 0.7299 GB, free: 7.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.7476, allocations: 46.95 kB / 0.7299 GB, free: 7.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.748, allocations: 408.8 kB / 0.7303 GB, free: 7.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.7482, allocations: 245.1 kB / 0.7305 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.7483, allocations: 11.12 kB / 0.7305 GB, free: 7.352 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.7484, allocations: 382.8 kB / 0.7309 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.7489, allocations: 220.6 kB / 0.7311 GB, free: 6.938 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.7495, allocations: 326 kB / 0.7314 GB, free: 6.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/0.7501, allocations: 276.3 kB / 0.7317 GB, free: 6.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.7501, allocations: 0 / 0.7317 GB, free: 6.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001823/0.752, allocations: 0.7388 MB / 0.7324 GB, free: 6.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.752, allocations: 5.266 kB / 0.7324 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.752, allocations: 1.125 kB / 0.7324 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.7526, allocations: 84.53 kB / 0.7325 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.7533, allocations: 144 kB / 0.7326 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.7553, allocations: 1.529 MB / 0.7341 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.756, allocations: 91.41 kB / 0.7342 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.7561, allocations: 29.61 kB / 0.7342 GB, free: 4.84 MB / 0.545 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.0005269/0.7566, allocations: 256.9 kB / 0.7345 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.7567, allocations: 77.03 kB / 0.7346 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.759, allocations: 1.005 MB / 0.7355 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.759, allocations: 8 kB / 0.7355 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.759, allocations: 8 kB / 0.7355 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.759, allocations: 9.203 kB / 0.7356 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.7623, allocations: 1.895 MB / 0.7374 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7623, allocations: 0 / 0.7374 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.7629, allocations: 155.8 kB / 0.7376 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/0.7635, allocations: 88.75 kB / 0.7376 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.7635, allocations: 19.98 kB / 0.7377 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.7652, allocations: 1.553 MB / 0.7392 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7652, allocations: 0 / 0.7392 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.7671, allocations: 0.9297 MB / 0.7401 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.7675, allocations: 267.8 kB / 0.7403 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.7676, allocations: 16.69 kB / 0.7404 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.7682, allocations: 74.17 kB / 0.7404 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7684, allocations: 56.91 kB / 0.7405 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.7684, allocations: 35.94 kB / 0.7405 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005303/0.769, allocations: 435 kB / 0.7409 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.769, allocations: 7.875 kB / 0.7409 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009226/0.7699, allocations: 303.1 kB / 0.7412 GB, free: 14.07 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.003177/0.7731, allocations: 1.954 MB / 0.7431 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.7746, allocations: 0.7388 MB / 0.7439 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7746, allocations: 0 / 0.7439 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008421/0.7755, allocations: 0.4928 MB / 0.7443 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.7766, allocations: 243.8 kB / 0.7446 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009368/0.786, allocations: 5.236 MB / 0.7497 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.7866, allocations: 1.035 MB / 0.7507 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001048/0.7877, allocations: 262.3 kB / 0.7509 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.7883, allocations: 371.3 kB / 0.7513 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/0.7883, allocations: 0 / 0.7513 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04067/0.829, allocations: 20.28 MB / 0.7711 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.8292, allocations: 284.6 kB / 0.7714 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3, allocations: 0 / 0.7714 GB, free: 15.59 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: