Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.006599/0.006599, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001577/0.001577, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.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.9012/0.9012, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3294, allocations: 80.91 MB / 0.6641 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004439/0.3339, allocations: 4.111 MB / 0.6682 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1506/0.4845, allocations: 150.5 MB / 0.8151 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006483/0.4851, allocations: 15.94 kB / 0.8151 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.4857, allocations: 162.5 kB / 0.8153 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.487, allocations: 491.9 kB / 0.8157 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.4887, allocations: 0.7843 MB / 0.8165 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.4898, allocations: 1.164 MB / 0.8176 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.4905, allocations: 0.606 MB / 0.8182 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.491, allocations: 430.5 kB / 0.8186 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.4914, allocations: 438 kB / 0.8191 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.4915, allocations: 104 kB / 0.8192 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007052/0.4923, allocations: 475.6 kB / 0.8196 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.4925, allocations: 267.1 kB / 0.8199 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.4929, allocations: 497.3 kB / 0.8203 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.4944, allocations: 1.472 MB / 0.8218 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4944, allocations: 7.938 kB / 0.8218 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4944, allocations: 0 / 0.8218 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.4944, allocations: 4 kB / 0.8218 GB, free: 15.61 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002015/0.4964, allocations: 1.356 MB / 0.8231 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4965, allocations: 8.031 kB / 0.8231 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.4966, allocations: 127 kB / 0.8232 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009204/0.4975, allocations: 184.1 kB / 0.8234 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.4987, allocations: 0.7309 MB / 0.8241 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.4987, allocations: 62 kB / 0.8242 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4988, allocations: 72 kB / 0.8243 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.5003, allocations: 0.8559 MB / 0.8251 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.5003, allocations: 0 / 0.8251 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.5004, allocations: 32 kB / 0.8251 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.5004, allocations: 20 kB / 0.8251 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.502, allocations: 1.054 MB / 0.8262 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.5055, allocations: 2.325 MB / 0.8284 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.5068, allocations: 0.7108 MB / 0.8291 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.5073, allocations: 262.4 kB / 0.8294 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.5074, allocations: 32.67 kB / 0.8294 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007437/0.5081, allocations: 423.1 kB / 0.8298 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=71): time 2.084e-06/0.5081, allocations: 3.938 kB / 0.8298 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71): time 0.002881/0.511, allocations: 1.065 MB / 0.8309 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.5111, allocations: 188.6 kB / 0.831 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000675/0.5118, allocations: 0.5862 MB / 0.8316 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.5119, allocations: 37.7 kB / 0.8317 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.5122, allocations: 380.8 kB / 0.832 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.5123, allocations: 249.9 kB / 0.8323 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.5125, allocations: 138.2 kB / 0.8324 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5127, allocations: 374.8 kB / 0.8327 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.5132, allocations: 213.2 kB / 0.833 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.5137, allocations: 318.7 kB / 0.8333 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/0.5147, allocations: 0.5199 MB / 0.8338 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5147, allocations: 7.938 kB / 0.8338 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001754/0.5165, allocations: 0.7124 MB / 0.8345 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5165, allocations: 4 kB / 0.8345 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5165, allocations: 4 kB / 0.8345 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/0.5171, allocations: 80.83 kB / 0.8345 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.5177, allocations: 135.8 kB / 0.8347 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.5198, allocations: 1.634 MB / 0.8363 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.5203, allocations: 75.61 kB / 0.8363 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.5204, allocations: 27.98 kB / 0.8364 GB, free: 140 kB / 0.6544 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 (75): * Single equations (assignments): 74 * 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.000326/0.5207, allocations: 245.8 kB / 0.8366 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5209, allocations: 83.41 kB / 0.8367 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.523, allocations: 0.9667 MB / 0.8376 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.523, allocations: 12 kB / 0.8376 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5231, allocations: 0 / 0.8376 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.5231, allocations: 4.078 kB / 0.8376 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.5239, allocations: 0.8256 MB / 0.8385 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.524, allocations: 0 / 0.8385 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.5245, allocations: 139.8 kB / 0.8386 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/0.525, allocations: 76.78 kB / 0.8387 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.525, allocations: 19.98 kB / 0.8387 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.5269, allocations: 1.658 MB / 0.8403 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5269, allocations: 0 / 0.8403 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.5287, allocations: 0.8346 MB / 0.8411 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.529, allocations: 252.3 kB / 0.8414 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.5291, allocations: 12 kB / 0.8414 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/0.5297, allocations: 55.94 kB / 0.8414 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5298, allocations: 56.92 kB / 0.8415 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.5299, allocations: 31.97 kB / 0.8415 GB, free: 10.63 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004853/0.5304, allocations: 427.1 kB / 0.8419 GB, free: 10.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5304, allocations: 0 / 0.8419 GB, free: 10.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006795/0.531, allocations: 291.2 kB / 0.8422 GB, free: 9.93 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003181/0.5342, allocations: 1.879 MB / 0.844 GB, free: 8.195 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.5357, allocations: 0.712 MB / 0.8447 GB, free: 7.473 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5357, allocations: 192 / 0.8447 GB, free: 7.473 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.5365, allocations: 480.2 kB / 0.8452 GB, free: 6.992 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.5377, allocations: 287.8 kB / 0.8455 GB, free: 6.727 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009632/0.5473, allocations: 5.768 MB / 0.8511 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.5479, allocations: 0.9986 MB / 0.8521 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006861/0.5486, allocations: 254 kB / 0.8523 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/0.549, allocations: 339.3 kB / 0.8526 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of SimCode: time 2.7e-07/0.549, allocations: 3.938 kB / 0.8526 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2974/0.8465, allocations: 19.65 MB / 0.8718 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.69, allocations: 1.406 kB / 0.8718 GB, free: 190.7 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)