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.0008795/0.0008795, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005451/0.005451, allocations: 172.6 kB / 16.27 MB, free: 6.656 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8744/0.8744, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 9.156 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1256, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.0041/0.1298, allocations: 3.706 MB / 0.5917 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3464/0.4762, allocations: 146.5 MB / 0.7348 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.4768, allocations: 17.78 kB / 0.7348 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.4773, allocations: 135.7 kB / 0.7349 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.4786, allocations: 396.1 kB / 0.7353 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.4802, allocations: 0.6776 MB / 0.736 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.4814, allocations: 1.086 MB / 0.737 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.4822, allocations: 0.5679 MB / 0.7376 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.4828, allocations: 299 kB / 0.7379 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.4833, allocations: 321.6 kB / 0.7382 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.4834, allocations: 22.62 kB / 0.7382 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007167/0.4841, allocations: 366.3 kB / 0.7386 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.4843, allocations: 165 kB / 0.7387 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004121/0.4847, allocations: 417 kB / 0.7391 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.4862, allocations: 1.341 MB / 0.7404 GB, free: 12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4862, allocations: 1.094 kB / 0.7404 GB, free: 12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4862, allocations: 0 / 0.7404 GB, free: 12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.4862, allocations: 0 / 0.7404 GB, free: 12 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001842/0.4881, allocations: 1.121 MB / 0.7415 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.4881, allocations: 10.72 kB / 0.7415 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.4883, allocations: 125.6 kB / 0.7417 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008013/0.4891, allocations: 191.6 kB / 0.7418 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.4899, allocations: 0.7093 MB / 0.7425 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.49, allocations: 63.78 kB / 0.7426 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.4901, allocations: 73.41 kB / 0.7427 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.4914, allocations: 0.8536 MB / 0.7435 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4915, allocations: 1.469 kB / 0.7435 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.4915, allocations: 32.06 kB / 0.7435 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.4916, allocations: 18 kB / 0.7435 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.4931, allocations: 1.065 MB / 0.7446 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.4962, allocations: 2.382 MB / 0.7469 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.4973, allocations: 0.7139 MB / 0.7476 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.4977, allocations: 278.5 kB / 0.7479 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.4977, allocations: 31.48 kB / 0.7479 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006267/0.4984, allocations: 415.1 kB / 0.7483 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 1.633e-06/0.4984, allocations: 0 / 0.7483 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.00247/0.5009, allocations: 1.091 MB / 0.7494 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.501, allocations: 186 kB / 0.7495 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.5015, allocations: 0.5854 MB / 0.7501 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.5016, allocations: 36.98 kB / 0.7502 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.5018, allocations: 378 kB / 0.7505 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.502, allocations: 232 kB / 0.7507 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.5021, allocations: 53.16 kB / 0.7508 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5022, allocations: 384.9 kB / 0.7512 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.5026, allocations: 217 kB / 0.7514 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.5031, allocations: 321.5 kB / 0.7517 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/0.5039, allocations: 0.5238 MB / 0.7522 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5039, allocations: 0 / 0.7522 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001493/0.5054, allocations: 0.7275 MB / 0.7529 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5055, allocations: 4 kB / 0.7529 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5055, allocations: 3.75 kB / 0.7529 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.506, allocations: 80.84 kB / 0.753 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.5065, allocations: 139.8 kB / 0.7531 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.5082, allocations: 1.528 MB / 0.7546 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.5087, allocations: 83.44 kB / 0.7547 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.5088, allocations: 35.92 kB / 0.7547 GB, free: 1.18 MB / 0.5606 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.0002872/0.5091, allocations: 240.4 kB / 0.7549 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/0.5092, allocations: 79.06 kB / 0.755 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.5112, allocations: 0.9661 MB / 0.756 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5112, allocations: 8 kB / 0.756 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5112, allocations: 11.94 kB / 0.756 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.5112, allocations: 3.984 kB / 0.756 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007732/0.512, allocations: 0.8277 MB / 0.7568 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.512, allocations: 0 / 0.7568 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.5125, allocations: 135.8 kB / 0.7569 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/0.513, allocations: 88.7 kB / 0.757 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.5131, allocations: 23.98 kB / 0.757 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.5146, allocations: 1.548 MB / 0.7585 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5147, allocations: 0 / 0.7585 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.5162, allocations: 0.8343 MB / 0.7594 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.5165, allocations: 267.7 kB / 0.7596 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.5166, allocations: 16 kB / 0.7596 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.5171, allocations: 72.44 kB / 0.7597 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5172, allocations: 56.92 kB / 0.7597 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.5173, allocations: 35.97 kB / 0.7598 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004233/0.5177, allocations: 427.1 kB / 0.7602 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5177, allocations: 4 kB / 0.7602 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006307/0.5183, allocations: 275.3 kB / 0.7605 GB, free: 11.06 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 (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.002815/0.5212, allocations: 1.874 MB / 0.7623 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.5224, allocations: 0.7193 MB / 0.763 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5224, allocations: 0 / 0.763 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.5232, allocations: 484.8 kB / 0.7634 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5242, allocations: 261.2 kB / 0.7637 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.5341, allocations: 6.371 MB / 0.7699 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.5346, allocations: 0.9993 MB / 0.7709 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006812/0.5352, allocations: 250.1 kB / 0.7711 GB, free: 176 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.5357, allocations: 343.4 kB / 0.7715 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.5357, allocations: 0 / 0.7715 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4211/0.9568, allocations: 18.47 MB / 0.7895 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003832/0.9572, allocations: 323.5 kB / 0.7898 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/3.215, allocations: 0 / 0.7898 GB, free: 13.36 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)