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.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001109/0.001109, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.177/1.177, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8162/0.8162, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 58.88 kB / 0.505 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1213, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005013/0.1264, allocations: 4.111 MB / 0.588 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3271/0.4535, allocations: 148.2 MB / 0.7328 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.4541, allocations: 19.84 kB / 0.7328 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.4547, allocations: 131.7 kB / 0.7329 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.4561, allocations: 422 kB / 0.7333 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.4577, allocations: 0.695 MB / 0.734 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.459, allocations: 1.168 MB / 0.7351 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007949/0.4598, allocations: 0.602 MB / 0.7357 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.4604, allocations: 420.8 kB / 0.7361 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005912/0.461, allocations: 438.9 kB / 0.7365 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.4611, allocations: 103.6 kB / 0.7366 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.4619, allocations: 450.9 kB / 0.7371 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.4621, allocations: 267.6 kB / 0.7373 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004435/0.4626, allocations: 0.4886 MB / 0.7378 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.464, allocations: 1.434 MB / 0.7392 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.464, allocations: 4 kB / 0.7392 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.123e-06/0.464, allocations: 0 / 0.7392 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.464, allocations: 0 / 0.7392 GB, free: 10.53 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.001958/0.466, allocations: 1.313 MB / 0.7405 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.466, allocations: 9.375 kB / 0.7405 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.4661, allocations: 129.6 kB / 0.7406 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007985/0.4669, allocations: 179 kB / 0.7408 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.4677, allocations: 0.7076 MB / 0.7415 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.4678, allocations: 57.62 kB / 0.7415 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.364e-05/0.4679, allocations: 80.78 kB / 0.7416 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.4692, allocations: 0.8525 MB / 0.7424 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4692, allocations: 1 kB / 0.7424 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.4693, allocations: 31.59 kB / 0.7425 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.4693, allocations: 19.31 kB / 0.7425 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.4707, allocations: 1.059 MB / 0.7435 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.4737, allocations: 2.349 MB / 0.7458 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4747, allocations: 0.6993 MB / 0.7465 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.4751, allocations: 270.1 kB / 0.7468 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.794e-05/0.4752, allocations: 35.19 kB / 0.7468 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000677/0.4759, allocations: 416.7 kB / 0.7472 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 3.857e-06/0.4759, allocations: 3.984 kB / 0.7472 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002653/0.4786, allocations: 1.066 MB / 0.7482 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.4787, allocations: 192.6 kB / 0.7484 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.4792, allocations: 0.5823 MB / 0.749 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.4793, allocations: 41.7 kB / 0.749 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.4795, allocations: 376.2 kB / 0.7494 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.4797, allocations: 228.7 kB / 0.7496 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.4799, allocations: 138.2 kB / 0.7497 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.48, allocations: 374.8 kB / 0.7501 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.4804, allocations: 213.2 kB / 0.7503 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.4809, allocations: 318.7 kB / 0.7506 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008495/0.4818, allocations: 0.516 MB / 0.7511 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4818, allocations: 4 kB / 0.7511 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00155/0.4833, allocations: 0.7158 MB / 0.7518 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4834, allocations: 4 kB / 0.7518 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4834, allocations: 3.75 kB / 0.7518 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.484, allocations: 88.77 kB / 0.7519 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.4845, allocations: 135.8 kB / 0.752 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.4863, allocations: 1.63 MB / 0.7536 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.4868, allocations: 79.33 kB / 0.7537 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.4869, allocations: 23.98 kB / 0.7537 GB, free: 14.66 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 (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.0002818/0.4872, allocations: 251.9 kB / 0.754 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.4873, allocations: 83.17 kB / 0.754 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.4893, allocations: 0.9611 MB / 0.755 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4894, allocations: 8 kB / 0.755 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4894, allocations: 3.938 kB / 0.755 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4894, allocations: 3.984 kB / 0.755 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.4902, allocations: 0.8273 MB / 0.7558 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4902, allocations: 0 / 0.7558 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.4907, allocations: 135.8 kB / 0.7559 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.4911, allocations: 72.78 kB / 0.756 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.4912, allocations: 23.98 kB / 0.756 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.4928, allocations: 1.65 MB / 0.7576 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4929, allocations: 3.938 kB / 0.7576 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.4945, allocations: 0.8304 MB / 0.7584 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.4947, allocations: 251.8 kB / 0.7587 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4948, allocations: 19.94 kB / 0.7587 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.4953, allocations: 55.94 kB / 0.7588 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4955, allocations: 52.92 kB / 0.7588 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.4955, allocations: 35.97 kB / 0.7588 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004382/0.496, allocations: 431.1 kB / 0.7593 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.496, allocations: 0 / 0.7593 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006504/0.4966, allocations: 283.2 kB / 0.7595 GB, free: 8.469 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.002941/0.4996, allocations: 1.852 MB / 0.7613 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.5014, allocations: 0.8948 MB / 0.7622 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5014, allocations: 4 kB / 0.7622 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.5021, allocations: 484.9 kB / 0.7627 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009978/0.5032, allocations: 293.9 kB / 0.763 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009992/0.5132, allocations: 6.279 MB / 0.7691 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.5136, allocations: 0.9936 MB / 0.7701 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007167/0.5144, allocations: 254 kB / 0.7703 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.5148, allocations: 343.3 kB / 0.7706 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5148, allocations: 4 kB / 0.7706 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7903/1.305, allocations: 19.26 MB / 0.7894 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/1.305, allocations: 315.3 kB / 0.7897 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/3.386, allocations: 4 kB / 0.7897 GB, free: 9.891 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)