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.0008463/0.0008463, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005584/0.005584, allocations: 170 kB / 16.26 MB, free: 6.613 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8506/0.8506, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002644, allocations: 9.344 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 82.3 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.0056/0.1344, allocations: 5.54 MB / 0.5935 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.352/0.4865, allocations: 147.5 MB / 0.7375 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009815/0.4875, allocations: 22.59 kB / 0.7376 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.4881, allocations: 178.1 kB / 0.7377 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.4899, allocations: 0.5134 MB / 0.7382 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.4923, allocations: 1.14 MB / 0.7393 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002148/0.4944, allocations: 2.225 MB / 0.7415 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.496, allocations: 1.502 MB / 0.743 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007769/0.4968, allocations: 0.6892 MB / 0.7437 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008471/0.4977, allocations: 0.8285 MB / 0.7445 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.4978, allocations: 56.59 kB / 0.7445 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008137/0.4987, allocations: 423.6 kB / 0.7449 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.499, allocations: 363.3 kB / 0.7453 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.4996, allocations: 0.8676 MB / 0.7461 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.5018, allocations: 2.966 MB / 0.749 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5018, allocations: 2.812 kB / 0.749 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5018, allocations: 0 / 0.749 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.921e-05/0.5018, allocations: 0 / 0.749 GB, free: 5.457 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.003806/0.5057, allocations: 2.102 MB / 0.7511 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.5057, allocations: 9.406 kB / 0.7511 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003282/0.506, allocations: 308 kB / 0.7514 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/0.5208, allocations: 2.281 MB / 0.7536 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.5224, allocations: 1.2 MB / 0.7548 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.5225, allocations: 164.3 kB / 0.7549 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/0.5229, allocations: 208 kB / 0.7551 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00758/0.5305, allocations: 3.228 MB / 0.7583 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.5305, allocations: 4 kB / 0.7583 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.5307, allocations: 84 kB / 0.7584 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.5308, allocations: 52 kB / 0.7584 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.5426, allocations: 4.247 MB / 0.7626 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.5558, allocations: 7.054 MB / 0.7694 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008116/0.5639, allocations: 2.704 MB / 0.7721 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004017/0.5679, allocations: 1.438 MB / 0.7735 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/0.5686, allocations: 0.5073 MB / 0.774 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004462/0.5731, allocations: 1.718 MB / 0.7757 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.126e-06/0.5731, allocations: 0 / 0.7757 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01356/0.5867, allocations: 4.236 MB / 0.7798 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.5868, allocations: 201.9 kB / 0.78 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/0.5878, allocations: 0.8545 MB / 0.7808 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.5879, allocations: 61.64 kB / 0.7809 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.5884, allocations: 0.7113 MB / 0.7816 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/0.5889, allocations: 0.6274 MB / 0.7822 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.5892, allocations: 129.6 kB / 0.7823 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.5893, allocations: 309.1 kB / 0.7826 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003926/0.5932, allocations: 1.179 MB / 0.7838 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00402/0.5972, allocations: 1.367 MB / 0.7851 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007801/0.605, allocations: 2.501 MB / 0.7875 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.605, allocations: 0 / 0.7875 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008965/0.614, allocations: 2.933 MB / 0.7904 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.614, allocations: 10.41 kB / 0.7904 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.6141, allocations: 0 / 0.7904 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/0.6146, allocations: 84.78 kB / 0.7905 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.618, allocations: 0.5656 MB / 0.791 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.6198, allocations: 1.539 MB / 0.7926 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.6224, allocations: 340.4 kB / 0.7929 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.6226, allocations: 91.89 kB / 0.793 GB, free: 9.328 MB / 0.6075 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.0006964/0.6233, allocations: 409.4 kB / 0.7934 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.6236, allocations: 142.2 kB / 0.7935 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.634, allocations: 3.503 MB / 0.7969 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.634, allocations: 20.06 kB / 0.7969 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.634, allocations: 4 kB / 0.7969 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.634, allocations: 11.95 kB / 0.7969 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.6461, allocations: 5.792 MB / 0.8026 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6461, allocations: 0 / 0.8026 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/0.6492, allocations: 0.55 MB / 0.8031 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.6497, allocations: 92.7 kB / 0.8032 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.6499, allocations: 67.92 kB / 0.8033 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.6515, allocations: 1.544 MB / 0.8048 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6515, allocations: 0 / 0.8048 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008861/0.6604, allocations: 3.078 MB / 0.8078 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/0.6611, allocations: 0.5335 MB / 0.8083 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.6613, allocations: 40 kB / 0.8084 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/0.6639, allocations: 267.7 kB / 0.8086 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.6641, allocations: 129.8 kB / 0.8087 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.6643, allocations: 83.86 kB / 0.8088 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007286/0.665, allocations: 0.6427 MB / 0.8095 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.665, allocations: 0 / 0.8095 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00127/0.6663, allocations: 0.5841 MB / 0.81 GB, free: 7.582 MB / 0.6231 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.01029/0.6766, allocations: 4.175 MB / 0.8141 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008452/0.6851, allocations: 2.979 MB / 0.817 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6851, allocations: 0 / 0.817 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004398/0.6895, allocations: 1.677 MB / 0.8186 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6909, allocations: 333.2 kB / 0.819 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03642/0.7274, allocations: 16.87 MB / 0.8354 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.7282, allocations: 1.377 MB / 0.8368 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002742/0.731, allocations: 0.5468 MB / 0.8373 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.7324, allocations: 0.8194 MB / 0.8381 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of SimCode: time 4.1e-07/0.7324, allocations: 0 / 0.8381 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.321/5.053, allocations: 36.86 MB / 0.8741 GB, free: 214.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/5.053, allocations: 291.7 kB / 0.8744 GB, free: 214.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/7.599, allocations: 0 / 0.8744 GB, free: 214.5 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/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)