Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.0009922/0.000992, allocations: 84.22 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.001262/0.001262, 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.342/1.342, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8985/0.8985, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 10.41 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006241/0.1513, allocations: 5.186 MB / 0.5925 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4047/0.5561, allocations: 137.6 MB / 0.7269 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009057/0.557, allocations: 22.66 kB / 0.7269 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.5576, allocations: 177.4 kB / 0.7271 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.5591, allocations: 0.4957 MB / 0.7276 GB, free: 4.922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.5614, allocations: 0.9324 MB / 0.7285 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002286/0.5637, allocations: 2.05 MB / 0.7305 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.5653, allocations: 1.176 MB / 0.7317 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.5664, allocations: 0.6696 MB / 0.7323 GB, free: 2.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.5675, allocations: 0.7947 MB / 0.7331 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.5677, allocations: 57.06 kB / 0.7331 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009566/0.5687, allocations: 393.8 kB / 0.7335 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.5691, allocations: 347.7 kB / 0.7339 GB, free: 2.027 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.5694, allocations: 362.4 kB / 0.7342 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.5717, allocations: 2.398 MB / 0.7365 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5717, allocations: 1.219 kB / 0.7365 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5717, allocations: 3.938 kB / 0.7365 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.466e-05/0.5718, allocations: 4 kB / 0.7365 GB, free: 0.8359 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004354/0.5761, allocations: 2.12 MB / 0.7386 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.5762, allocations: 9.281 kB / 0.7386 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004185/0.5766, allocations: 310.9 kB / 0.7389 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.5905, allocations: 2.283 MB / 0.7412 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.5926, allocations: 1.157 MB / 0.7423 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.704e-05/0.5927, allocations: 160.8 kB / 0.7424 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.593, allocations: 216 kB / 0.7426 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007757/0.6008, allocations: 3.219 MB / 0.7458 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.6009, allocations: 0 / 0.7458 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.6011, allocations: 88 kB / 0.7459 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.6011, allocations: 52 kB / 0.7459 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.6131, allocations: 4.228 MB / 0.75 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.628, allocations: 7.04 MB / 0.7569 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007711/0.6358, allocations: 2.698 MB / 0.7596 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003859/0.6397, allocations: 1.438 MB / 0.761 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.6404, allocations: 0.4996 MB / 0.7615 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004409/0.6448, allocations: 1.707 MB / 0.7631 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.667e-06/0.6449, allocations: 0 / 0.7631 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01315/0.658, allocations: 4.228 MB / 0.7672 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.6582, allocations: 201.9 kB / 0.7674 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.6594, allocations: 0.8427 MB / 0.7683 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.6596, allocations: 61.7 kB / 0.7683 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/0.6602, allocations: 0.7113 MB / 0.769 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/0.6608, allocations: 0.6313 MB / 0.7696 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.6609, allocations: 32 kB / 0.7697 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6611, allocations: 365.9 kB / 0.77 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/0.6649, allocations: 1.179 MB / 0.7712 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003992/0.6689, allocations: 1.363 MB / 0.7725 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/0.6727, allocations: 1.216 MB / 0.7737 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6728, allocations: 0 / 0.7737 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009331/0.6821, allocations: 2.913 MB / 0.7765 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.6822, allocations: 4 kB / 0.7765 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6822, allocations: 8.062 kB / 0.7765 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.6827, allocations: 84.77 kB / 0.7766 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/0.6862, allocations: 0.577 MB / 0.7772 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.6884, allocations: 1.516 MB / 0.7787 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/0.6915, allocations: 347.4 kB / 0.779 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.6917, allocations: 91.89 kB / 0.7791 GB, free: 7.465 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (207): * Single equations (assignments): 206 * 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.001083/0.6928, allocations: 393.5 kB / 0.7795 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.6932, allocations: 154.2 kB / 0.7796 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/0.7037, allocations: 3.513 MB / 0.783 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.7038, allocations: 24 kB / 0.7831 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.7038, allocations: 112 / 0.7831 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.7038, allocations: 15.89 kB / 0.7831 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.7168, allocations: 5.773 MB / 0.7887 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7168, allocations: 3.938 kB / 0.7887 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00321/0.72, allocations: 0.55 MB / 0.7893 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.7205, allocations: 84.78 kB / 0.7893 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.7207, allocations: 67.92 kB / 0.7894 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.7225, allocations: 1.559 MB / 0.7909 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7225, allocations: 4.031 kB / 0.7909 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008757/0.7312, allocations: 3.063 MB / 0.7939 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/0.7322, allocations: 0.5412 MB / 0.7944 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/0.7325, allocations: 36 kB / 0.7945 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/0.7349, allocations: 268.9 kB / 0.7947 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.7351, allocations: 117.8 kB / 0.7948 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.7353, allocations: 87.91 kB / 0.7949 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009362/0.7363, allocations: 0.6349 MB / 0.7955 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.7363, allocations: 0 / 0.7955 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001652/0.738, allocations: 0.5881 MB / 0.7961 GB, free: 5.734 MB / 0.6075 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.01028/0.7482, allocations: 4.155 MB / 0.8002 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008334/0.7566, allocations: 2.964 MB / 0.8031 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7566, allocations: 3.984 kB / 0.8031 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004501/0.7612, allocations: 1.677 MB / 0.8047 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.7628, allocations: 312.2 kB / 0.805 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/0.7911, allocations: 11.91 MB / 0.8166 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.7921, allocations: 1.369 MB / 0.818 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003428/0.7956, allocations: 0.5507 MB / 0.8185 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/0.7971, allocations: 0.8037 MB / 0.8193 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.7971, allocations: 0 / 0.8193 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06684/0.864, allocations: 38.73 MB / 0.8571 GB, free: 7.469 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.8642, allocations: 272.6 kB / 0.8574 GB, free: 7.109 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.609, allocations: 0 / 0.8574 GB, free: 7.109 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: