Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_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.001394/0.001394, 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.00157/0.00157, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7302/0.7302, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 60.53 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1331, allocations: 80.2 MB / 0.5795 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004796/0.1379, allocations: 4.123 MB / 0.5835 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3311/0.469, allocations: 148.1 MB / 0.7282 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/0.4696, allocations: 14.94 kB / 0.7282 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.47, allocations: 134.4 kB / 0.7283 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.4712, allocations: 407.7 kB / 0.7287 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.4726, allocations: 0.6702 MB / 0.7294 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008661/0.4735, allocations: 1.086 MB / 0.7304 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007139/0.4742, allocations: 0.5783 MB / 0.731 GB, free: 1.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.4746, allocations: 369.2 kB / 0.7314 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.475, allocations: 409.4 kB / 0.7317 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.4751, allocations: 51.44 kB / 0.7318 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005727/0.4757, allocations: 394.6 kB / 0.7322 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.4759, allocations: 221.2 kB / 0.7324 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.4763, allocations: 454.4 kB / 0.7328 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.4774, allocations: 1.379 MB / 0.7342 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.4774, allocations: 1.031 kB / 0.7342 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.12e-07/0.4774, allocations: 0 / 0.7342 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.4774, allocations: 0 / 0.7342 GB, free: 0.5117 MB / 0.545 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.001967/0.4794, allocations: 1.321 MB / 0.7355 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.4794, allocations: 9.469 kB / 0.7355 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.4796, allocations: 131.8 kB / 0.7356 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/0.4805, allocations: 180.2 kB / 0.7358 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.4813, allocations: 0.6987 MB / 0.7364 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.4814, allocations: 60.94 kB / 0.7365 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.789e-05/0.4815, allocations: 80.48 kB / 0.7366 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.4828, allocations: 0.8498 MB / 0.7374 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4828, allocations: 9.531 kB / 0.7374 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.4829, allocations: 32 kB / 0.7374 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4829, allocations: 18.62 kB / 0.7375 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.4845, allocations: 1.056 MB / 0.7385 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.4878, allocations: 2.353 MB / 0.7408 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.4889, allocations: 0.6981 MB / 0.7415 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.4894, allocations: 271.2 kB / 0.7417 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.4895, allocations: 34.44 kB / 0.7418 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/0.4901, allocations: 416.6 kB / 0.7422 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 3.486e-06/0.4902, allocations: 0 / 0.7422 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002702/0.4929, allocations: 1.065 MB / 0.7432 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.493, allocations: 197.6 kB / 0.7434 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.4936, allocations: 0.5803 MB / 0.744 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.4936, allocations: 47.03 kB / 0.744 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.4939, allocations: 376.6 kB / 0.7444 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.4941, allocations: 229.3 kB / 0.7446 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.4942, allocations: 129.4 kB / 0.7447 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4944, allocations: 381 kB / 0.7451 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.4948, allocations: 220 kB / 0.7453 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.4953, allocations: 311.9 kB / 0.7456 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009013/0.4962, allocations: 0.5244 MB / 0.7461 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4962, allocations: 0 / 0.7461 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001634/0.4979, allocations: 0.7197 MB / 0.7468 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4979, allocations: 4 kB / 0.7468 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4979, allocations: 0 / 0.7468 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.4985, allocations: 80.83 kB / 0.7469 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.499, allocations: 135.8 kB / 0.747 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.5009, allocations: 1.518 MB / 0.7485 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.5014, allocations: 79.36 kB / 0.7486 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.5015, allocations: 23.98 kB / 0.7486 GB, free: 5.605 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.0003074/0.5018, allocations: 254.5 kB / 0.7488 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.5019, allocations: 79.05 kB / 0.7489 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.5041, allocations: 0.9644 MB / 0.7498 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5041, allocations: 8 kB / 0.7498 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5041, allocations: 4 kB / 0.7499 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.5041, allocations: 3.984 kB / 0.7499 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008446/0.505, allocations: 0.8255 MB / 0.7507 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.505, allocations: 3.938 kB / 0.7507 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005417/0.5055, allocations: 135.8 kB / 0.7508 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/0.506, allocations: 80.78 kB / 0.7509 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.5061, allocations: 28.05 kB / 0.7509 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.5078, allocations: 1.54 MB / 0.7524 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5078, allocations: 0 / 0.7524 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.5095, allocations: 0.8225 MB / 0.7532 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.5098, allocations: 251.8 kB / 0.7534 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.5099, allocations: 19.94 kB / 0.7535 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/0.5105, allocations: 59.88 kB / 0.7535 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5106, allocations: 60.91 kB / 0.7536 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.5106, allocations: 27.98 kB / 0.7536 GB, free: 220 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004833/0.5111, allocations: 430.9 kB / 0.754 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5111, allocations: 7.875 kB / 0.754 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006781/0.5118, allocations: 283.2 kB / 0.7543 GB, free: 15.52 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.003075/0.5149, allocations: 1.867 MB / 0.7561 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.5163, allocations: 0.7076 MB / 0.7568 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5163, allocations: 0 / 0.7568 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/0.5171, allocations: 484.7 kB / 0.7573 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/0.5181, allocations: 254.9 kB / 0.7575 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5285, allocations: 6.273 MB / 0.7636 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.529, allocations: 0.9992 MB / 0.7646 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007291/0.5298, allocations: 261.5 kB / 0.7649 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.5302, allocations: 339.3 kB / 0.7652 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.5303, allocations: 0 / 0.7652 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.546/2.077, allocations: 18.76 MB / 0.7835 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/2.077, allocations: 304 kB / 0.7838 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/4.307, allocations: 2.188 kB / 0.7838 GB, free: 1.688 MB / 0.5919 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)