Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_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.004792/0.004792, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.0011/0.0011, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7289/0.7289, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 62.84 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1405, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006237/0.1468, allocations: 4.496 MB / 0.6636 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4395/0.5863, allocations: 150.6 MB / 0.8106 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.587, allocations: 19.78 kB / 0.8107 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.5875, allocations: 187.7 kB / 0.8108 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.5888, allocations: 0.4919 MB / 0.8113 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.5903, allocations: 0.8347 MB / 0.8121 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.5913, allocations: 1.322 MB / 0.8134 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009353/0.5922, allocations: 0.9119 MB / 0.8143 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.5928, allocations: 0.535 MB / 0.8148 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.5933, allocations: 0.5804 MB / 0.8154 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.5934, allocations: 142.1 kB / 0.8155 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007774/0.5942, allocations: 0.4978 MB / 0.816 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.5944, allocations: 348 kB / 0.8164 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.5949, allocations: 0.6408 MB / 0.817 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.5966, allocations: 1.841 MB / 0.8188 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5966, allocations: 4 kB / 0.8188 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.035e-06/0.5966, allocations: 0 / 0.8188 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.5966, allocations: 7.688 kB / 0.8188 GB, free: 8.918 MB / 0.5919 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.002138/0.5987, allocations: 1.592 MB / 0.8204 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5988, allocations: 10 kB / 0.8204 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.599, allocations: 173.3 kB / 0.8205 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008544/0.5998, allocations: 208.8 kB / 0.8207 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.6009, allocations: 0.8365 MB / 0.8215 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.123e-05/0.601, allocations: 87.75 kB / 0.8216 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6011, allocations: 108.7 kB / 0.8217 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.6027, allocations: 1.136 MB / 0.8228 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.6028, allocations: 0 / 0.8228 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.6029, allocations: 46.69 kB / 0.8229 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.6029, allocations: 30.47 kB / 0.8229 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.6046, allocations: 1.236 MB / 0.8241 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00388/0.6085, allocations: 2.973 MB / 0.827 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.6097, allocations: 0.7734 MB / 0.8278 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.6102, allocations: 299.6 kB / 0.8281 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.6103, allocations: 32.56 kB / 0.8281 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007069/0.611, allocations: 444.7 kB / 0.8285 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.254e-06/0.611, allocations: 2.531 kB / 0.8285 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.002697/0.6137, allocations: 1.142 MB / 0.8296 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.6138, allocations: 194.9 kB / 0.8298 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.6145, allocations: 0.6893 MB / 0.8305 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.6146, allocations: 38.98 kB / 0.8305 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.6149, allocations: 0.4936 MB / 0.831 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.6151, allocations: 260 kB / 0.8313 GB, free: 356 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.6153, allocations: 142.4 kB / 0.8314 GB, free: 268 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6154, allocations: 333.8 kB / 0.8317 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.6159, allocations: 236.9 kB / 0.8319 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.6164, allocations: 344.8 kB / 0.8323 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.6174, allocations: 0.5777 MB / 0.8328 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6174, allocations: 6.5 kB / 0.8328 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001668/0.619, allocations: 0.7924 MB / 0.8336 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6191, allocations: 5.172 kB / 0.8336 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6191, allocations: 9.938 kB / 0.8336 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/0.6196, allocations: 78.97 kB / 0.8337 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.6202, allocations: 149.2 kB / 0.8339 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.6221, allocations: 1.635 MB / 0.8354 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.6227, allocations: 89.95 kB / 0.8355 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.6227, allocations: 28.27 kB / 0.8356 GB, free: 13.12 MB / 0.6075 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.0003737/0.6231, allocations: 276.2 kB / 0.8358 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.6233, allocations: 97.75 kB / 0.8359 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.6253, allocations: 1.027 MB / 0.8369 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6253, allocations: 7.812 kB / 0.8369 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.6253, allocations: 0 / 0.8369 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6253, allocations: 3.984 kB / 0.8369 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.6263, allocations: 0.9769 MB / 0.8379 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6263, allocations: 0 / 0.8379 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.6268, allocations: 155.5 kB / 0.838 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.6272, allocations: 71.94 kB / 0.8381 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.6273, allocations: 25.73 kB / 0.8381 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.6289, allocations: 1.661 MB / 0.8398 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.629, allocations: 2.438 kB / 0.8398 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.6307, allocations: 0.8807 MB / 0.8406 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.631, allocations: 276 kB / 0.8409 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.6311, allocations: 16.81 kB / 0.8409 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.6316, allocations: 57.12 kB / 0.8409 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6317, allocations: 63.08 kB / 0.841 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.6318, allocations: 27.48 kB / 0.841 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005498/0.6323, allocations: 0.4921 MB / 0.8415 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6323, allocations: 0 / 0.8415 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007395/0.6331, allocations: 341.2 kB / 0.8418 GB, free: 8.656 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.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.002979/0.6361, allocations: 1.923 MB / 0.8437 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.6376, allocations: 0.77 MB / 0.8445 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6376, allocations: 0 / 0.8445 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008548/0.6384, allocations: 0.5118 MB / 0.845 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6395, allocations: 312.7 kB / 0.8453 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.6503, allocations: 6.643 MB / 0.8518 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.6509, allocations: 1.078 MB / 0.8528 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007954/0.6517, allocations: 277.8 kB / 0.8531 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/0.6523, allocations: 451.2 kB / 0.8535 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.6523, allocations: 0 / 0.8535 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.6978, allocations: 21.89 MB / 0.8749 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.68, allocations: 17.02 kB / 0.8749 GB, free: 7.547 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)