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.0008248/0.0008247, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000924/0.000924, allocations: 168.7 kB / 15.95 MB, free: 204 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.327/1.327, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9358/0.9358, allocations: 135.3 MB / 426.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 8 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 82.31 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004307/0.1521, allocations: 3.849 MB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.397/0.5491, allocations: 136.8 MB / 0.7248 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008665/0.55, allocations: 19.22 kB / 0.7249 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.5507, allocations: 143.4 kB / 0.725 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.5525, allocations: 409 kB / 0.7254 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.5546, allocations: 0.6267 MB / 0.726 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.5562, allocations: 1.126 MB / 0.7271 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.5573, allocations: 0.686 MB / 0.7278 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.558, allocations: 338.6 kB / 0.7281 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007457/0.5588, allocations: 375.3 kB / 0.7284 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.559, allocations: 27.78 kB / 0.7285 GB, free: 5.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.56, allocations: 332.8 kB / 0.7288 GB, free: 5.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.5603, allocations: 189.4 kB / 0.729 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003603/0.5607, allocations: 220.4 kB / 0.7292 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.5627, allocations: 1.323 MB / 0.7305 GB, free: 4.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5627, allocations: 1.156 kB / 0.7305 GB, free: 4.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5627, allocations: 0 / 0.7305 GB, free: 4.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.035e-05/0.5628, allocations: 3.938 kB / 0.7305 GB, free: 4.84 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.003125/0.5659, allocations: 1.352 MB / 0.7318 GB, free: 3.918 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.566, allocations: 8.938 kB / 0.7318 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003211/0.5663, allocations: 173.6 kB / 0.732 GB, free: 3.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009494/0.5673, allocations: 230.9 kB / 0.7322 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.5686, allocations: 0.7729 MB / 0.7329 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/0.5686, allocations: 90.27 kB / 0.733 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.5688, allocations: 107.5 kB / 0.7331 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.5708, allocations: 1.129 MB / 0.7342 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5708, allocations: 0 / 0.7342 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/0.5709, allocations: 61.02 kB / 0.7343 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.571, allocations: 31.48 kB / 0.7343 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.5729, allocations: 1.229 MB / 0.7355 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/0.5779, allocations: 3.055 MB / 0.7385 GB, free: 112 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.5794, allocations: 0.773 MB / 0.7393 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.5799, allocations: 299.3 kB / 0.7395 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.58, allocations: 31.73 kB / 0.7396 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008389/0.5809, allocations: 448.4 kB / 0.74 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.5809, allocations: 4 kB / 0.74 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002757/0.5837, allocations: 1.15 MB / 0.7411 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.5838, allocations: 189 kB / 0.7413 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.5848, allocations: 0.6848 MB / 0.742 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.5849, allocations: 37.27 kB / 0.742 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.5853, allocations: 0.4967 MB / 0.7425 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5856, allocations: 262.8 kB / 0.7427 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.5856, allocations: 15.44 kB / 0.7428 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5857, allocations: 332 kB / 0.7431 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.5862, allocations: 240.1 kB / 0.7433 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.5867, allocations: 346.6 kB / 0.7436 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.5874, allocations: 294.9 kB / 0.7439 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5874, allocations: 0 / 0.7439 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001798/0.5892, allocations: 0.7901 MB / 0.7447 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.5893, allocations: 8 kB / 0.7447 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5893, allocations: 0 / 0.7447 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.5898, allocations: 88.8 kB / 0.7448 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.5904, allocations: 155.7 kB / 0.7449 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.5926, allocations: 1.508 MB / 0.7464 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.5932, allocations: 96.62 kB / 0.7465 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.5933, allocations: 31.92 kB / 0.7465 GB, free: 9.34 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.0005149/0.5938, allocations: 273.6 kB / 0.7468 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.594, allocations: 94.83 kB / 0.7469 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.5963, allocations: 1.047 MB / 0.7479 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.5963, allocations: 8 kB / 0.7479 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5963, allocations: 0 / 0.7479 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5964, allocations: 3.984 kB / 0.7479 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.5976, allocations: 0.9893 MB / 0.7489 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5977, allocations: 0 / 0.7489 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.5983, allocations: 151.8 kB / 0.749 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.5987, allocations: 84.77 kB / 0.7491 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.5988, allocations: 23.98 kB / 0.7491 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.6007, allocations: 1.544 MB / 0.7506 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6007, allocations: 0 / 0.7506 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.6025, allocations: 0.8887 MB / 0.7515 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/0.6031, allocations: 283.6 kB / 0.7518 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6032, allocations: 16 kB / 0.7518 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.6038, allocations: 71.94 kB / 0.7519 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6039, allocations: 64.86 kB / 0.7519 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/0.604, allocations: 35.98 kB / 0.752 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006801/0.6047, allocations: 491 kB / 0.7524 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6047, allocations: 4 kB / 0.7524 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001031/0.6058, allocations: 327 kB / 0.7527 GB, free: 2.734 MB / 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.003481/0.6093, allocations: 1.933 MB / 0.7546 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.6107, allocations: 0.7757 MB / 0.7554 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6108, allocations: 4 kB / 0.7554 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.6116, allocations: 0.501 MB / 0.7559 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.6128, allocations: 266.5 kB / 0.7561 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.6236, allocations: 5.508 MB / 0.7615 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.6244, allocations: 1.09 MB / 0.7626 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009125/0.6253, allocations: 266.9 kB / 0.7628 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006372/0.6259, allocations: 455.3 kB / 0.7633 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.626, allocations: 0 / 0.7633 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.6696, allocations: 21.77 MB / 0.7845 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.6699, allocations: 279.2 kB / 0.7848 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.972, allocations: 3.938 kB / 0.7848 GB, free: 2.207 MB / 0.5919 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/linux/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) Environment - environmentSimulation: