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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001516, allocations: 103.4 kB / 16.35 MB, free: 5.875 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.001637/0.001637, allocations: 198.5 kB / 17.3 MB, free: 5.516 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8058/0.8058, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 63.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.392, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005763/0.3978, allocations: 4.51 MB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1542/0.552, allocations: 150.6 MB / 0.733 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000851/0.5529, allocations: 19.88 kB / 0.733 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.5535, allocations: 190.2 kB / 0.7332 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.5551, allocations: 0.489 MB / 0.7336 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.557, allocations: 0.8095 MB / 0.7344 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.5582, allocations: 1.324 MB / 0.7357 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5593, allocations: 0.9289 MB / 0.7366 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.5599, allocations: 0.5293 MB / 0.7372 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.5604, allocations: 0.5715 MB / 0.7377 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.5606, allocations: 144 kB / 0.7378 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008516/0.5615, allocations: 0.4957 MB / 0.7383 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.5618, allocations: 350.8 kB / 0.7387 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.5622, allocations: 0.645 MB / 0.7393 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.5641, allocations: 1.842 MB / 0.7411 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5641, allocations: 0 / 0.7411 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5641, allocations: 0 / 0.7411 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.5641, allocations: 4 kB / 0.7411 GB, free: 10.19 MB / 0.5762 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.002379/0.5665, allocations: 1.573 MB / 0.7426 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5666, allocations: 12.03 kB / 0.7426 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.5675, allocations: 215 kB / 0.7429 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.5686, allocations: 0.8211 MB / 0.7437 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.5687, allocations: 90.23 kB / 0.7437 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5688, allocations: 108 kB / 0.7438 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.5705, allocations: 1.138 MB / 0.745 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5706, allocations: 7.938 kB / 0.745 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.243e-05/0.5706, allocations: 44 kB / 0.745 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.5707, allocations: 28 kB / 0.745 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.5726, allocations: 1.246 MB / 0.7462 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.5769, allocations: 2.975 MB / 0.7492 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.5782, allocations: 0.7725 MB / 0.7499 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.5787, allocations: 294.6 kB / 0.7502 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/0.5787, allocations: 36.67 kB / 0.7502 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000755/0.5795, allocations: 455.1 kB / 0.7507 GB, free: 124 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/0.5795, allocations: 0 / 0.7507 GB, free: 124 kB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.3377/0.9172, allocations: 1.126 MB / 0.7518 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.9174, allocations: 193.7 kB / 0.7519 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.9185, allocations: 0.6841 MB / 0.7526 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.9186, allocations: 43.92 kB / 0.7526 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.919, allocations: 0.4988 MB / 0.7531 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.9192, allocations: 254.7 kB / 0.7534 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.9195, allocations: 166.8 kB / 0.7535 GB, free: 166 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9196, allocations: 396 kB / 0.7539 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.9202, allocations: 256.6 kB / 0.7542 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.9208, allocations: 353.3 kB / 0.7545 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.9221, allocations: 0.6056 MB / 0.7551 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.9221, allocations: 1.875 kB / 0.7551 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0022/0.9243, allocations: 0.8357 MB / 0.7559 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.9243, allocations: 5.312 kB / 0.7559 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.9244, allocations: 5.344 kB / 0.7559 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.925, allocations: 78.53 kB / 0.756 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.9257, allocations: 163.3 kB / 0.7561 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.9276, allocations: 1.632 MB / 0.7577 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.9284, allocations: 90.55 kB / 0.7578 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.9285, allocations: 33.95 kB / 0.7579 GB, free: 163.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (92): * Single equations (assignments): 91 * 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.0007046/0.9292, allocations: 283 kB / 0.7581 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.9295, allocations: 92.56 kB / 0.7582 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.9325, allocations: 1.015 MB / 0.7592 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/0.9325, allocations: 9.906 kB / 0.7592 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9326, allocations: 0.5 kB / 0.7592 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.9326, allocations: 8.609 kB / 0.7592 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.9341, allocations: 0.9823 MB / 0.7602 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.9341, allocations: 0 / 0.7602 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.9347, allocations: 151.9 kB / 0.7603 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/0.9352, allocations: 77.28 kB / 0.7604 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.9353, allocations: 20.83 kB / 0.7604 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.9368, allocations: 1.664 MB / 0.7621 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9368, allocations: 7.359 kB / 0.7621 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.9386, allocations: 0.8833 MB / 0.7629 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.939, allocations: 270.9 kB / 0.7632 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.9391, allocations: 16.72 kB / 0.7632 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.9396, allocations: 58.22 kB / 0.7633 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.9398, allocations: 63.66 kB / 0.7633 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-05/0.9399, allocations: 32.73 kB / 0.7633 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006206/0.9405, allocations: 494 kB / 0.7638 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9405, allocations: 1.875 kB / 0.7638 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00103/0.9415, allocations: 340.4 kB / 0.7641 GB, free: 159.2 MB / 0.5762 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.001471/0.943, allocations: 0.598 MB / 0.7647 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.9447, allocations: 0.8126 MB / 0.7655 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.9448, allocations: 0 / 0.7655 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.9456, allocations: 0.4975 MB / 0.766 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.9467, allocations: 298.2 kB / 0.7663 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.9507, allocations: 1.947 MB / 0.7682 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.9513, allocations: 1.094 MB / 0.7693 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007379/0.952, allocations: 265.5 kB / 0.7695 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.9522, allocations: 103.4 kB / 0.7696 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.9522, allocations: 0 / 0.7696 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.02116/0.9734, allocations: 14.5 MB / 0.7838 GB, free: 141.4 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)