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.004843/0.004843, allocations: 102.4 kB / 15.73 MB, free: 6.504 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.001279/0.001279, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9054/0.9054, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 0.5851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 80.92 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004348/0.3363, allocations: 4.147 MB / 0.6682 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.4833, allocations: 150.5 MB / 0.8152 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006824/0.484, allocations: 19.88 kB / 0.8152 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.4846, allocations: 174.5 kB / 0.8154 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.4862, allocations: 471.9 kB / 0.8158 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.4881, allocations: 0.8124 MB / 0.8166 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.4894, allocations: 1.192 MB / 0.8178 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009019/0.4903, allocations: 0.6833 MB / 0.8184 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.4909, allocations: 466.3 kB / 0.8189 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.4914, allocations: 485.8 kB / 0.8193 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.4916, allocations: 112 kB / 0.8194 GB, free: 2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.4924, allocations: 475.6 kB / 0.8199 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.4926, allocations: 291.1 kB / 0.8202 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.4931, allocations: 0.5246 MB / 0.8207 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.4949, allocations: 1.581 MB / 0.8222 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4949, allocations: 0 / 0.8222 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4949, allocations: 0 / 0.8222 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.328e-05/0.4949, allocations: 0 / 0.8222 GB, free: 15.14 MB / 0.6544 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.002349/0.4973, allocations: 1.43 MB / 0.8236 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4973, allocations: 8.031 kB / 0.8236 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.4975, allocations: 143.8 kB / 0.8238 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.4986, allocations: 212 kB / 0.824 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.4998, allocations: 0.7465 MB / 0.8247 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.4999, allocations: 70 kB / 0.8248 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.5, allocations: 84 kB / 0.8248 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.5016, allocations: 0.9526 MB / 0.8258 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.5017, allocations: 4 kB / 0.8258 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.5018, allocations: 36 kB / 0.8258 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.5018, allocations: 20 kB / 0.8258 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.5037, allocations: 1.132 MB / 0.8269 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.5075, allocations: 2.445 MB / 0.8293 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.5098, allocations: 0.8906 MB / 0.8302 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/0.5104, allocations: 286.6 kB / 0.8305 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.5105, allocations: 28.69 kB / 0.8305 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007883/0.5113, allocations: 435.3 kB / 0.8309 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.5113, allocations: 0 / 0.8309 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003017/0.5143, allocations: 1.098 MB / 0.832 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.5144, allocations: 192.6 kB / 0.8322 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.5151, allocations: 0.5979 MB / 0.8328 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.5152, allocations: 41.7 kB / 0.8328 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.5155, allocations: 408.8 kB / 0.8332 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.5157, allocations: 249.9 kB / 0.8334 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.5159, allocations: 138.2 kB / 0.8336 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5161, allocations: 382.7 kB / 0.8339 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.5166, allocations: 225.2 kB / 0.8341 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.5172, allocations: 326.7 kB / 0.8344 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5183, allocations: 0.5394 MB / 0.835 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.5183, allocations: 0 / 0.835 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001825/0.5201, allocations: 0.7319 MB / 0.8357 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5201, allocations: 4 kB / 0.8357 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5202, allocations: 4.094 kB / 0.8357 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.5208, allocations: 76.78 kB / 0.8358 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.5214, allocations: 151.7 kB / 0.8359 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.5234, allocations: 1.629 MB / 0.8375 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.524, allocations: 83.67 kB / 0.8376 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.5241, allocations: 27.98 kB / 0.8376 GB, free: 14.84 MB / 0.67 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.0003345/0.5244, allocations: 259.8 kB / 0.8379 GB, free: 14.58 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5246, allocations: 79.48 kB / 0.8379 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.5269, allocations: 1.006 MB / 0.8389 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.527, allocations: 8 kB / 0.8389 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.527, allocations: 3.938 kB / 0.8389 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.527, allocations: 3.984 kB / 0.8389 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.5302, allocations: 1.905 MB / 0.8408 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5303, allocations: 0 / 0.8408 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.5309, allocations: 147.8 kB / 0.8409 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.5313, allocations: 72.72 kB / 0.841 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.5314, allocations: 23.98 kB / 0.841 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.5333, allocations: 1.654 MB / 0.8426 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5333, allocations: 3.984 kB / 0.8426 GB, free: 9.453 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.5352, allocations: 0.9321 MB / 0.8436 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.5355, allocations: 260.2 kB / 0.8438 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.5357, allocations: 16 kB / 0.8438 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.5363, allocations: 58.28 kB / 0.8439 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5364, allocations: 56.92 kB / 0.8439 GB, free: 8.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.5365, allocations: 39.97 kB / 0.844 GB, free: 8.062 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005305/0.537, allocations: 439 kB / 0.8444 GB, free: 7.641 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.537, allocations: 3.938 kB / 0.8444 GB, free: 7.637 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007551/0.5378, allocations: 299.1 kB / 0.8447 GB, free: 7.344 MB / 0.67 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.003348/0.5411, allocations: 1.97 MB / 0.8466 GB, free: 5.523 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.5427, allocations: 0.7395 MB / 0.8473 GB, free: 4.773 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5427, allocations: 0 / 0.8473 GB, free: 4.773 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009168/0.5436, allocations: 0.4885 MB / 0.8478 GB, free: 4.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.5449, allocations: 293.7 kB / 0.8481 GB, free: 4.004 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.5556, allocations: 6.073 MB / 0.854 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.5562, allocations: 1.026 MB / 0.855 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007672/0.557, allocations: 246.3 kB / 0.8552 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.5575, allocations: 375.3 kB / 0.8556 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of SimCode: time 4.1e-07/0.5575, allocations: 0 / 0.8556 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2986/0.8561, allocations: 20.41 MB / 0.8755 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.87, allocations: 2.609 kB / 0.8755 GB, free: 190.2 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)