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.005109/0.005109, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001166/0.001166, allocations: 196.9 kB / 16.67 MB, free: 5.926 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7261/0.7261, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 65.8 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005811/0.1379, allocations: 4.492 MB / 0.6636 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4634/0.6013, allocations: 150.6 MB / 0.8106 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007464/0.6021, allocations: 20.22 kB / 0.8107 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.6028, allocations: 185.2 kB / 0.8108 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.6045, allocations: 500 kB / 0.8113 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.6062, allocations: 0.8337 MB / 0.8121 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.6077, allocations: 1.317 MB / 0.8134 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.6089, allocations: 0.9143 MB / 0.8143 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.6098, allocations: 0.5342 MB / 0.8148 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006901/0.6105, allocations: 0.5833 MB / 0.8154 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.6107, allocations: 140.7 kB / 0.8155 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.6118, allocations: 0.5005 MB / 0.816 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.6121, allocations: 346 kB / 0.8164 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.6126, allocations: 0.6437 MB / 0.817 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.6144, allocations: 1.844 MB / 0.8188 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6144, allocations: 0 / 0.8188 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6144, allocations: 2.656 kB / 0.8188 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.6145, allocations: 4 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.002268/0.6167, allocations: 1.586 MB / 0.8203 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6168, allocations: 10.38 kB / 0.8203 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.617, allocations: 176.6 kB / 0.8205 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/0.6179, allocations: 208.6 kB / 0.8207 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.619, allocations: 0.8347 MB / 0.8215 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.619, allocations: 87.42 kB / 0.8216 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.6192, allocations: 109.1 kB / 0.8217 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.6209, allocations: 1.14 MB / 0.8228 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.6209, allocations: 0 / 0.8228 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.53e-05/0.621, allocations: 52.59 kB / 0.8229 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.621, allocations: 27.66 kB / 0.8229 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.6228, allocations: 1.232 MB / 0.8241 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/0.6268, allocations: 2.971 MB / 0.827 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.6279, allocations: 0.7773 MB / 0.8278 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.6284, allocations: 297.4 kB / 0.8281 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.76e-05/0.6285, allocations: 31.61 kB / 0.8281 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006917/0.6292, allocations: 448.6 kB / 0.8285 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.505e-06/0.6292, allocations: 0 / 0.8285 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.002864/0.632, allocations: 1.145 MB / 0.8296 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.6322, allocations: 187.9 kB / 0.8298 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/0.633, allocations: 0.6906 MB / 0.8305 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.6331, allocations: 42.52 kB / 0.8305 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.6334, allocations: 0.4933 MB / 0.831 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.6336, allocations: 258 kB / 0.8313 GB, free: 360 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.6338, allocations: 142.3 kB / 0.8314 GB, free: 272 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6339, allocations: 337.8 kB / 0.8317 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.6343, allocations: 232.5 kB / 0.8319 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.6348, allocations: 350.8 kB / 0.8323 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.6357, allocations: 0.5779 MB / 0.8328 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6358, allocations: 7.875 kB / 0.8328 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001621/0.6374, allocations: 0.789 MB / 0.8336 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6374, allocations: 4.938 kB / 0.8336 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6374, allocations: 2.781 kB / 0.8336 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.638, allocations: 79.5 kB / 0.8337 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.6386, allocations: 152.9 kB / 0.8338 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.6405, allocations: 1.632 MB / 0.8354 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.6411, allocations: 86.61 kB / 0.8355 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.6412, allocations: 30.3 kB / 0.8355 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.0003802/0.6416, allocations: 284.1 kB / 0.8358 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.6417, allocations: 93.59 kB / 0.8359 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.6437, allocations: 1.021 MB / 0.8369 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6438, allocations: 9.969 kB / 0.8369 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.6438, allocations: 0 / 0.8369 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.6438, allocations: 3.984 kB / 0.8369 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.6448, allocations: 0.981 MB / 0.8379 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6448, allocations: 0 / 0.8379 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.6453, allocations: 149.6 kB / 0.838 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/0.6457, allocations: 70.16 kB / 0.8381 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.6458, allocations: 23.27 kB / 0.8381 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.6476, allocations: 1.668 MB / 0.8397 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6476, allocations: 3.938 kB / 0.8397 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.6493, allocations: 0.8831 MB / 0.8406 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.6496, allocations: 271.9 kB / 0.8409 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6497, allocations: 20.75 kB / 0.8409 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.6502, allocations: 54.97 kB / 0.8409 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.6503, allocations: 62.39 kB / 0.841 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.6504, allocations: 32.48 kB / 0.841 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005128/0.6509, allocations: 0.4883 MB / 0.8415 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6509, allocations: 0 / 0.8415 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007299/0.6517, allocations: 342.1 kB / 0.8418 GB, free: 8.652 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.002974/0.6546, allocations: 1.929 MB / 0.8437 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.656, allocations: 0.77 MB / 0.8445 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6561, allocations: 0 / 0.8445 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008076/0.6569, allocations: 0.5118 MB / 0.845 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.6579, allocations: 312.8 kB / 0.8453 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.6681, allocations: 6.64 MB / 0.8517 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.6687, allocations: 1.082 MB / 0.8528 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007401/0.6695, allocations: 262.9 kB / 0.853 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/0.67, allocations: 455.2 kB / 0.8535 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of SimCode: time 8.62e-07/0.67, allocations: 0 / 0.8535 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/0.7165, allocations: 22.29 MB / 0.8753 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.95, allocations: 7.719 kB / 0.8753 GB, free: 7.207 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)