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.006757/0.006757, allocations: 102 kB / 15.73 MB, free: 6.484 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.001631/0.001631, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9339/0.9339, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.89 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.407, allocations: 80.91 MB / 0.6641 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007241/0.4142, allocations: 6.064 MB / 0.6701 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.5903, allocations: 151.5 MB / 0.818 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.5915, allocations: 23.88 kB / 0.818 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.5922, allocations: 241.4 kB / 0.8182 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.5942, allocations: 0.6198 MB / 0.8188 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.5969, allocations: 1.284 MB / 0.8201 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002584/0.5995, allocations: 2.415 MB / 0.8224 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.6015, allocations: 1.592 MB / 0.824 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.6028, allocations: 1.059 MB / 0.825 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.6042, allocations: 1.194 MB / 0.8262 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004089/0.6046, allocations: 296 kB / 0.8265 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.6059, allocations: 0.6753 MB / 0.8271 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005088/0.6065, allocations: 0.6426 MB / 0.8278 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.6075, allocations: 1.174 MB / 0.8289 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.6108, allocations: 3.287 MB / 0.8321 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6108, allocations: 3.938 kB / 0.8321 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6108, allocations: 4 kB / 0.8321 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.582e-05/0.6109, allocations: 0 / 0.8321 GB, free: 5.059 MB / 0.6544 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.005264/0.6162, allocations: 2.582 MB / 0.8346 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6162, allocations: 15.97 kB / 0.8347 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004263/0.6167, allocations: 304.3 kB / 0.8349 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.6317, allocations: 2.097 MB / 0.837 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.6343, allocations: 1.223 MB / 0.8382 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.6344, allocations: 164.4 kB / 0.8383 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/0.6348, allocations: 208 kB / 0.8385 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008299/0.6431, allocations: 3.15 MB / 0.8416 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.6431, allocations: 0 / 0.8416 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.6434, allocations: 92 kB / 0.8417 GB, free: 11.01 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.6434, allocations: 56 kB / 0.8418 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.6557, allocations: 4.103 MB / 0.8458 GB, free: 6.832 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0145/0.6702, allocations: 6.92 MB / 0.8525 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008491/0.6787, allocations: 2.692 MB / 0.8552 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00426/0.683, allocations: 1.43 MB / 0.8566 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008148/0.6839, allocations: 0.4999 MB / 0.857 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004915/0.6888, allocations: 1.703 MB / 0.8587 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=195): time 4.188e-06/0.6888, allocations: 0 / 0.8587 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of matching and sorting (n=195): time 0.01457/0.7034, allocations: 4.197 MB / 0.8628 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.7036, allocations: 201.9 kB / 0.863 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.7047, allocations: 0.8622 MB / 0.8638 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.7049, allocations: 57.7 kB / 0.8639 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.7054, allocations: 0.7073 MB / 0.8646 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.706, allocations: 0.6274 MB / 0.8652 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/0.7066, allocations: 351.2 kB / 0.8655 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7068, allocations: 309.1 kB / 0.8658 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/0.7108, allocations: 1.171 MB / 0.867 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3639/1.075, allocations: 1.348 MB / 0.8683 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009561/1.084, allocations: 2.47 MB / 0.8707 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/1.084, allocations: 3.156 kB / 0.8707 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01083/1.095, allocations: 2.901 MB / 0.8735 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.095, allocations: 5.594 kB / 0.8735 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.095, allocations: 2.094 kB / 0.8735 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/1.096, allocations: 90.83 kB / 0.8736 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/1.1, allocations: 0.5558 MB / 0.8742 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/1.101, allocations: 1.639 MB / 0.8758 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/1.104, allocations: 333.5 kB / 0.8761 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/1.105, allocations: 85.77 kB / 0.8762 GB, free: 186.3 MB / 0.6856 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 (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 (207): * Single equations (assignments): 206 * 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.0009181/1.106, allocations: 410.1 kB / 0.8766 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/1.106, allocations: 144 kB / 0.8767 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.117, allocations: 3.474 MB / 0.8801 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/1.117, allocations: 20.16 kB / 0.8801 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.117, allocations: 3.938 kB / 0.8801 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/1.117, allocations: 9.375 kB / 0.8801 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.13, allocations: 5.76 MB / 0.8857 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.13, allocations: 0 / 0.8857 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/1.133, allocations: 0.5383 MB / 0.8863 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/1.133, allocations: 77.56 kB / 0.8863 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/1.134, allocations: 71.08 kB / 0.8864 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/1.135, allocations: 1.668 MB / 0.888 GB, free: 180 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.135, allocations: 0 / 0.888 GB, free: 180 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.145, allocations: 3.052 MB / 0.891 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.147, allocations: 0.5054 MB / 0.8915 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/1.147, allocations: 46.53 kB / 0.8916 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.15, allocations: 247.4 kB / 0.8918 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/1.15, allocations: 124.1 kB / 0.8919 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.15, allocations: 87.34 kB / 0.892 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009498/1.151, allocations: 0.6427 MB / 0.8926 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/1.151, allocations: 0 / 0.8926 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001891/1.153, allocations: 0.5922 MB / 0.8932 GB, free: 177.2 MB / 0.6856 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 (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.01153/1.165, allocations: 4.151 MB / 0.8973 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009634/1.174, allocations: 2.948 MB / 0.9001 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.174, allocations: 5.469 kB / 0.9001 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004688/1.179, allocations: 1.659 MB / 0.9018 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.181, allocations: 361.2 kB / 0.9021 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03395/1.215, allocations: 15.05 MB / 0.9168 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/1.215, allocations: 1.37 MB / 0.9181 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002457/1.218, allocations: 0.5468 MB / 0.9187 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.219, allocations: 0.8194 MB / 0.9195 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/1.219, allocations: 0 / 0.9195 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06206/1.281, allocations: 39.86 MB / 0.9584 GB, free: 117.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.97, allocations: 0 / 0.9584 GB, free: 117.4 MB / 0.6856 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/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)