Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_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.0008985/0.0008984, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009162/0.0009163, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9932/0.9932, allocations: 132.3 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003304, allocations: 8 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4665, allocations: 81.57 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004614/0.4711, allocations: 3.805 MB / 0.5867 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1843/0.6555, allocations: 127.6 MB / 0.7113 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.6567, allocations: 15.88 kB / 0.7113 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.6571, allocations: 83.27 kB / 0.7113 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.6593, allocations: 477.3 kB / 0.7118 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.6615, allocations: 0.6291 MB / 0.7124 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.6634, allocations: 0.8176 MB / 0.7132 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.6647, allocations: 0.7018 MB / 0.7139 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007402/0.6654, allocations: 342.3 kB / 0.7142 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.666, allocations: 347.7 kB / 0.7146 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.039e-05/0.666, allocations: 24 kB / 0.7146 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.6671, allocations: 311.6 kB / 0.7149 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.6675, allocations: 183.1 kB / 0.7151 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.6679, allocations: 229 kB / 0.7153 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.6698, allocations: 1.321 MB / 0.7166 GB, free: 7.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6698, allocations: 0 / 0.7166 GB, free: 7.438 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6698, allocations: 0 / 0.7166 GB, free: 7.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.11e-05/0.6698, allocations: 0 / 0.7166 GB, free: 7.438 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.00285/0.6727, allocations: 1.346 MB / 0.7179 GB, free: 6.039 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.6727, allocations: 16.03 kB / 0.7179 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002797/0.673, allocations: 173.2 kB / 0.7181 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.6745, allocations: 230.1 kB / 0.7183 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.6767, allocations: 0.778 MB / 0.719 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.6768, allocations: 82.3 kB / 0.7191 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/0.6772, allocations: 112 kB / 0.7192 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003978/0.6812, allocations: 1.122 MB / 0.7203 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.6812, allocations: 0 / 0.7203 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.6814, allocations: 55.95 kB / 0.7204 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.6815, allocations: 28 kB / 0.7204 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.6859, allocations: 1.23 MB / 0.7216 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.696, allocations: 3.043 MB / 0.7246 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/0.6989, allocations: 0.7803 MB / 0.7253 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.6991, allocations: 24.62 kB / 0.7254 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/0.7005, allocations: 451.2 kB / 0.7258 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 4.999e-06/0.7005, allocations: 0 / 0.7258 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.005133/0.7057, allocations: 1.145 MB / 0.7269 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002484/0.7059, allocations: 192.5 kB / 0.7271 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.7075, allocations: 0.6842 MB / 0.7278 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.7077, allocations: 41.7 kB / 0.7278 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.7084, allocations: 0.4996 MB / 0.7283 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.7087, allocations: 256.3 kB / 0.7285 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.7088, allocations: 19.94 kB / 0.7285 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.709, allocations: 330 kB / 0.7289 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008517/0.7099, allocations: 241.9 kB / 0.7291 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.7109, allocations: 342.6 kB / 0.7294 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009634/0.7119, allocations: 290.9 kB / 0.7297 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.7119, allocations: 3.938 kB / 0.7297 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002808/0.7147, allocations: 0.7941 MB / 0.7305 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.7148, allocations: 7.953 kB / 0.7305 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7148, allocations: 0 / 0.7305 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/0.7156, allocations: 88.81 kB / 0.7306 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.7167, allocations: 151.8 kB / 0.7307 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/0.7203, allocations: 1.526 MB / 0.7322 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.7215, allocations: 95.3 kB / 0.7323 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7216, allocations: 27.98 kB / 0.7323 GB, free: 6.746 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008398/0.7224, allocations: 273.6 kB / 0.7326 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.7227, allocations: 98.81 kB / 0.7327 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.7267, allocations: 1.043 MB / 0.7337 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.7268, allocations: 8 kB / 0.7337 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7268, allocations: 0 / 0.7337 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.7268, allocations: 3.984 kB / 0.7337 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.7289, allocations: 0.9855 MB / 0.7347 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.7289, allocations: 0 / 0.7347 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.7301, allocations: 148 kB / 0.7348 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/0.731, allocations: 92.69 kB / 0.7349 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/0.7312, allocations: 23.98 kB / 0.7349 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/0.7343, allocations: 1.556 MB / 0.7364 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7344, allocations: 4 kB / 0.7364 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/0.7379, allocations: 0.8887 MB / 0.7373 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007851/0.7387, allocations: 291.5 kB / 0.7376 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.7389, allocations: 20 kB / 0.7376 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.74, allocations: 67.78 kB / 0.7377 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.7402, allocations: 68.86 kB / 0.7377 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.7404, allocations: 31.92 kB / 0.7378 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001142/0.7415, allocations: 499 kB / 0.7382 GB, free: 432 kB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7415, allocations: 0 / 0.7382 GB, free: 432 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001557/0.7431, allocations: 330.9 kB / 0.7386 GB, free: 100 kB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005835/0.749, allocations: 1.92 MB / 0.7404 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002776/0.7518, allocations: 0.7728 MB / 0.7412 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7518, allocations: 0 / 0.7412 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.7534, allocations: 0.5003 MB / 0.7417 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.7556, allocations: 258 kB / 0.7419 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/0.7742, allocations: 5.928 MB / 0.7477 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.7754, allocations: 1.102 MB / 0.7488 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001839/0.7772, allocations: 262.9 kB / 0.749 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.7783, allocations: 455.2 kB / 0.7495 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.7783, allocations: 0 / 0.7495 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.8809, allocations: 21.73 MB / 0.7707 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004162/0.8814, allocations: 269.8 kB / 0.7709 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/4.045, allocations: 0 / 0.7709 GB, free: 15.25 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: