Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_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.0009532/0.0009532, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009254/0.0009255, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8256/0.8256, allocations: 135.1 MB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 60.12 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1226, allocations: 80.93 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005376/0.128, allocations: 4.488 MB / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3288/0.4569, allocations: 148.3 MB / 0.733 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006183/0.4575, allocations: 21.19 kB / 0.733 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.4581, allocations: 147.1 kB / 0.7332 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.4595, allocations: 419.9 kB / 0.7336 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.4612, allocations: 0.7126 MB / 0.7343 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.4624, allocations: 1.229 MB / 0.7355 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.4635, allocations: 0.8906 MB / 0.7363 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.4642, allocations: 480.6 kB / 0.7368 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.4646, allocations: 0.5414 MB / 0.7373 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.4648, allocations: 82.38 kB / 0.7374 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006836/0.4655, allocations: 427.6 kB / 0.7378 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.4657, allocations: 290.8 kB / 0.7381 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.4661, allocations: 0.5957 MB / 0.7387 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.4674, allocations: 1.74 MB / 0.7404 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4674, allocations: 5.312 kB / 0.7404 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.82e-07/0.4674, allocations: 0 / 0.7404 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.4674, allocations: 0 / 0.7404 GB, free: 9.711 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.00217/0.4696, allocations: 1.586 MB / 0.7419 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.4696, allocations: 12.78 kB / 0.7419 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.4698, allocations: 174.8 kB / 0.7421 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.4707, allocations: 219.8 kB / 0.7423 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/0.4716, allocations: 0.8041 MB / 0.7431 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.4717, allocations: 85.05 kB / 0.7432 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.4718, allocations: 112.8 kB / 0.7433 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.4735, allocations: 1.133 MB / 0.7444 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.4735, allocations: 0 / 0.7444 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.4736, allocations: 52.28 kB / 0.7444 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.4736, allocations: 26.22 kB / 0.7445 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.4754, allocations: 1.236 MB / 0.7457 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.4791, allocations: 3.013 MB / 0.7486 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.4803, allocations: 0.7739 MB / 0.7494 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.4808, allocations: 298.6 kB / 0.7497 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.4809, allocations: 32.69 kB / 0.7497 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006888/0.4816, allocations: 451.2 kB / 0.7501 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 1.803e-06/0.4816, allocations: 3.75 kB / 0.7501 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002715/0.4843, allocations: 1.143 MB / 0.7512 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.4844, allocations: 188.6 kB / 0.7514 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007094/0.4851, allocations: 0.6843 MB / 0.7521 GB, free: 452 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.4852, allocations: 41.81 kB / 0.7521 GB, free: 404 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.4855, allocations: 0.4995 MB / 0.7526 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.4857, allocations: 256.3 kB / 0.7529 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.4859, allocations: 146.5 kB / 0.753 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.486, allocations: 338 kB / 0.7533 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.4864, allocations: 233.9 kB / 0.7535 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.4869, allocations: 350.5 kB / 0.7539 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/0.4879, allocations: 0.5722 MB / 0.7544 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4879, allocations: 3.938 kB / 0.7544 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00166/0.4896, allocations: 0.7916 MB / 0.7552 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4896, allocations: 4.094 kB / 0.7552 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4896, allocations: 8 kB / 0.7552 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005579/0.4902, allocations: 80.77 kB / 0.7553 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.4908, allocations: 147.8 kB / 0.7554 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.4926, allocations: 1.512 MB / 0.7569 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.4931, allocations: 92.08 kB / 0.757 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.4932, allocations: 27.98 kB / 0.757 GB, free: 11.16 MB / 0.5762 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 (84): * Single equations (assignments): 83 * 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.0003521/0.4936, allocations: 280.1 kB / 0.7573 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.4937, allocations: 86.97 kB / 0.7574 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.4958, allocations: 1.036 MB / 0.7584 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4959, allocations: 8 kB / 0.7584 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4959, allocations: 4 kB / 0.7584 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4959, allocations: 3.984 kB / 0.7584 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009519/0.4968, allocations: 0.9816 MB / 0.7594 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4968, allocations: 4 kB / 0.7594 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.4974, allocations: 151.8 kB / 0.7595 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/0.4979, allocations: 84.77 kB / 0.7596 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.498, allocations: 23.98 kB / 0.7596 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.4996, allocations: 1.536 MB / 0.7611 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4996, allocations: 7.688 kB / 0.7611 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.5013, allocations: 0.8888 MB / 0.762 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.5016, allocations: 271.6 kB / 0.7623 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.5017, allocations: 23.94 kB / 0.7623 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.5023, allocations: 55.88 kB / 0.7623 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.5024, allocations: 68.84 kB / 0.7624 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.5025, allocations: 31.98 kB / 0.7624 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005347/0.503, allocations: 495 kB / 0.7629 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.503, allocations: 4 kB / 0.7629 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006565/0.5037, allocations: 330.9 kB / 0.7632 GB, free: 4.574 MB / 0.5762 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 (89): * Single equations (assignments): 86 * 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.003008/0.5067, allocations: 1.92 MB / 0.7651 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.508, allocations: 0.7643 MB / 0.7658 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.508, allocations: 0 / 0.7658 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/0.5088, allocations: 0.5124 MB / 0.7663 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.5099, allocations: 264.9 kB / 0.7666 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.5211, allocations: 7.437 MB / 0.7739 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.5217, allocations: 1.086 MB / 0.7749 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007373/0.5224, allocations: 270.8 kB / 0.7752 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/0.523, allocations: 459.2 kB / 0.7756 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.523, allocations: 0 / 0.7756 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7497/1.273, allocations: 20.92 MB / 0.796 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/1.273, allocations: 290.1 kB / 0.7963 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.547, allocations: 0 / 0.7963 GB, free: 2.902 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)