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.005438/0.005438, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001219/0.001219, allocations: 199.1 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7751/0.7751, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1531, allocations: 80.92 MB / 0.6641 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006765/0.1599, allocations: 4.154 MB / 0.6682 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5132/0.6732, allocations: 150.5 MB / 0.8152 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008358/0.674, allocations: 18.88 kB / 0.8152 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007924/0.6749, allocations: 168.2 kB / 0.8153 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.6771, allocations: 488.2 kB / 0.8158 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.6795, allocations: 0.7998 MB / 0.8166 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.681, allocations: 1.195 MB / 0.8177 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.6822, allocations: 0.6909 MB / 0.8184 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006623/0.6829, allocations: 454.3 kB / 0.8189 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.6836, allocations: 481.8 kB / 0.8193 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.6838, allocations: 112.9 kB / 0.8194 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009937/0.6848, allocations: 482.8 kB / 0.8199 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.6852, allocations: 289.1 kB / 0.8202 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006159/0.6858, allocations: 0.5264 MB / 0.8207 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.6877, allocations: 1.575 MB / 0.8222 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6877, allocations: 4 kB / 0.8222 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6877, allocations: 2.594 kB / 0.8222 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.6878, allocations: 0 / 0.8222 GB, free: 5.578 MB / 0.5919 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.002126/0.6899, allocations: 1.379 MB / 0.8236 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.6899, allocations: 11.48 kB / 0.8236 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.6901, allocations: 141.4 kB / 0.8237 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.6912, allocations: 204.8 kB / 0.8239 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.6922, allocations: 0.7494 MB / 0.8246 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.6923, allocations: 68.38 kB / 0.8247 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.6924, allocations: 85.69 kB / 0.8248 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.6938, allocations: 0.9491 MB / 0.8257 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.6939, allocations: 0 / 0.8257 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.694, allocations: 35.5 kB / 0.8257 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.694, allocations: 22.28 kB / 0.8258 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.6957, allocations: 1.126 MB / 0.8269 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003683/0.6994, allocations: 2.444 MB / 0.8293 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/0.7016, allocations: 0.8831 MB / 0.8301 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.7021, allocations: 279.4 kB / 0.8304 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/0.7022, allocations: 35.86 kB / 0.8304 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007403/0.7029, allocations: 439.4 kB / 0.8308 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/0.703, allocations: 0 / 0.8308 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002834/0.7058, allocations: 1.092 MB / 0.8319 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7059, allocations: 185.8 kB / 0.8321 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.7066, allocations: 0.6065 MB / 0.8327 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.7067, allocations: 43.42 kB / 0.8327 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.707, allocations: 399.8 kB / 0.8331 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.7072, allocations: 242.1 kB / 0.8333 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.7074, allocations: 134.2 kB / 0.8335 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.7076, allocations: 387.6 kB / 0.8338 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.708, allocations: 221.7 kB / 0.834 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.7086, allocations: 325.9 kB / 0.8343 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009796/0.7096, allocations: 0.5435 MB / 0.8349 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7096, allocations: 0 / 0.8349 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001794/0.7114, allocations: 0.7324 MB / 0.8356 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.7114, allocations: 4.906 kB / 0.8356 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7114, allocations: 0 / 0.8356 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.712, allocations: 86.48 kB / 0.8357 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.7126, allocations: 142.6 kB / 0.8358 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.7146, allocations: 1.629 MB / 0.8374 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.7152, allocations: 83.86 kB / 0.8375 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.7153, allocations: 25.42 kB / 0.8375 GB, free: 10.68 MB / 0.6075 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003798/0.7156, allocations: 258 kB / 0.8378 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.7158, allocations: 81.22 kB / 0.8378 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.7179, allocations: 0.9931 MB / 0.8388 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.7179, allocations: 7.844 kB / 0.8388 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.718, allocations: 0 / 0.8388 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.718, allocations: 7.922 kB / 0.8388 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.7211, allocations: 1.905 MB / 0.8407 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7211, allocations: 0 / 0.8407 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.7217, allocations: 149 kB / 0.8408 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/0.7221, allocations: 71.88 kB / 0.8409 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.7222, allocations: 19.61 kB / 0.8409 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.724, allocations: 1.666 MB / 0.8425 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.724, allocations: 4.062 kB / 0.8425 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.7258, allocations: 0.9243 MB / 0.8434 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.7261, allocations: 257.6 kB / 0.8437 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.542e-05/0.7262, allocations: 16.53 kB / 0.8437 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.7267, allocations: 53.62 kB / 0.8438 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.7269, allocations: 62.31 kB / 0.8438 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.7269, allocations: 34.02 kB / 0.8438 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004925/0.7274, allocations: 441.2 kB / 0.8443 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7275, allocations: 0 / 0.8443 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007614/0.7282, allocations: 296.8 kB / 0.8445 GB, free: 5.691 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003311/0.7315, allocations: 1.97 MB / 0.8465 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.7331, allocations: 0.7366 MB / 0.8472 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7331, allocations: 0 / 0.8472 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.734, allocations: 0.4924 MB / 0.8477 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.7351, allocations: 285.8 kB / 0.8479 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.7454, allocations: 6.035 MB / 0.8538 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.746, allocations: 1.019 MB / 0.8548 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007891/0.7468, allocations: 262.1 kB / 0.8551 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.7473, allocations: 386.9 kB / 0.8555 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of SimCode: time 1.182e-06/0.7473, allocations: 0 / 0.8555 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.7979, allocations: 20.42 MB / 0.8754 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.27, allocations: 12.75 kB / 0.8754 GB, free: 6.586 MB / 0.6387 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/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)