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.005068/0.005068, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001171/0.001171, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9566/0.9566, allocations: 135.1 MB / 425.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 55.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.426, allocations: 80.92 MB / 0.6641 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004917/0.431, allocations: 4.5 MB / 0.6685 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1602/0.5912, allocations: 150.6 MB / 0.8156 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.5923, allocations: 19.88 kB / 0.8156 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.5929, allocations: 190.2 kB / 0.8158 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.5947, allocations: 0.4913 MB / 0.8163 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.5968, allocations: 0.8241 MB / 0.8171 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001462/0.5983, allocations: 1.316 MB / 0.8184 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.5994, allocations: 0.9233 MB / 0.8193 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.6001, allocations: 0.5293 MB / 0.8198 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.6008, allocations: 0.5793 MB / 0.8204 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.601, allocations: 140 kB / 0.8205 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009631/0.6019, allocations: 0.4996 MB / 0.821 GB, free: 304 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.6022, allocations: 346.8 kB / 0.8213 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.6027, allocations: 0.645 MB / 0.822 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.6045, allocations: 1.838 MB / 0.8238 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.6046, allocations: 7.938 kB / 0.8238 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6046, allocations: 3.938 kB / 0.8238 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.6046, allocations: 0 / 0.8238 GB, free: 13.45 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002382/0.607, allocations: 1.584 MB / 0.8253 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.607, allocations: 8.031 kB / 0.8253 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.6072, allocations: 177.5 kB / 0.8255 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.6081, allocations: 211.1 kB / 0.8257 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.6095, allocations: 0.8363 MB / 0.8265 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.361e-05/0.6096, allocations: 86.3 kB / 0.8266 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.6097, allocations: 112 kB / 0.8267 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.6116, allocations: 1.134 MB / 0.8278 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.6117, allocations: 0 / 0.8278 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.584e-05/0.6118, allocations: 48 kB / 0.8278 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.6118, allocations: 28 kB / 0.8279 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.6138, allocations: 1.246 MB / 0.8291 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/0.6183, allocations: 2.964 MB / 0.832 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.6196, allocations: 0.7695 MB / 0.8327 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.6201, allocations: 294.7 kB / 0.833 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-05/0.6202, allocations: 28.69 kB / 0.833 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007782/0.621, allocations: 459.1 kB / 0.8335 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.621, allocations: 0 / 0.8335 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.002939/0.624, allocations: 1.135 MB / 0.8346 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/0.6241, allocations: 192.6 kB / 0.8348 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000804/0.6249, allocations: 0.6882 MB / 0.8354 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.625, allocations: 41.7 kB / 0.8355 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.6253, allocations: 0.4957 MB / 0.836 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.6255, allocations: 260.2 kB / 0.8362 GB, free: 324 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.6257, allocations: 138.5 kB / 0.8364 GB, free: 180 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6259, allocations: 345.9 kB / 0.8367 GB, free: 15.83 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.6263, allocations: 241.9 kB / 0.8369 GB, free: 15.59 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.6269, allocations: 342.6 kB / 0.8372 GB, free: 15.24 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.6279, allocations: 0.576 MB / 0.8378 GB, free: 14.65 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6279, allocations: 0 / 0.8378 GB, free: 14.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001791/0.6297, allocations: 0.7941 MB / 0.8386 GB, free: 13.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6298, allocations: 7.938 kB / 0.8386 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6298, allocations: 7.922 kB / 0.8386 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.6304, allocations: 80.88 kB / 0.8387 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.631, allocations: 147.8 kB / 0.8388 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.6331, allocations: 1.626 MB / 0.8404 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.6337, allocations: 95.28 kB / 0.8405 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.6337, allocations: 23.98 kB / 0.8405 GB, free: 11.71 MB / 0.67 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 (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 (84): * Single equations (assignments): 83 * 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.0004283/0.6342, allocations: 281 kB / 0.8408 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6343, allocations: 90.81 kB / 0.8409 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.6365, allocations: 1.027 MB / 0.8419 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.6366, allocations: 8 kB / 0.8419 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.6366, allocations: 0 / 0.8419 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6366, allocations: 3.984 kB / 0.8419 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6377, allocations: 0.9895 MB / 0.8428 GB, free: 9.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6377, allocations: 4 kB / 0.8429 GB, free: 9.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.6383, allocations: 147.8 kB / 0.843 GB, free: 9.105 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.6388, allocations: 72.78 kB / 0.8431 GB, free: 9.031 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.6388, allocations: 23.98 kB / 0.8431 GB, free: 9.008 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.6408, allocations: 1.654 MB / 0.8447 GB, free: 7.207 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-05/0.6409, allocations: 4.031 kB / 0.8447 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.6428, allocations: 0.8927 MB / 0.8456 GB, free: 6.289 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.6432, allocations: 271.7 kB / 0.8458 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.6433, allocations: 16 kB / 0.8459 GB, free: 5.988 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.6439, allocations: 55.94 kB / 0.8459 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.644, allocations: 56.92 kB / 0.846 GB, free: 5.875 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.644, allocations: 35.92 kB / 0.846 GB, free: 5.84 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006162/0.6447, allocations: 0.4912 MB / 0.8465 GB, free: 5.352 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6447, allocations: 0 / 0.8465 GB, free: 5.352 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007714/0.6455, allocations: 338.8 kB / 0.8468 GB, free: 5.02 MB / 0.67 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 (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.003263/0.6487, allocations: 1.93 MB / 0.8487 GB, free: 3.246 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.6503, allocations: 0.7689 MB / 0.8494 GB, free: 2.461 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6503, allocations: 0 / 0.8494 GB, free: 2.461 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.6512, allocations: 0.512 MB / 0.8499 GB, free: 1.941 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.6524, allocations: 301 kB / 0.8502 GB, free: 1.668 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.6647, allocations: 6.655 MB / 0.8567 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/0.6656, allocations: 1.078 MB / 0.8578 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008597/0.6665, allocations: 262.9 kB / 0.858 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006365/0.6672, allocations: 451.2 kB / 0.8585 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of SimCode: time 6.42e-07/0.6672, allocations: 0 / 0.8585 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3525/1.02, allocations: 22.29 MB / 0.8802 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.45, allocations: 13.52 kB / 0.8802 GB, free: 186.4 MB / 0.6856 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/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)