Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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: translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001176/0.001176, allocations: 194.6 kB / 17.31 MB, free: 5.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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7883/0.7883, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.09 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3622, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.006869/0.3691, allocations: 7.122 MB / 0.5927 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1569/0.526, allocations: 155.5 MB / 0.7446 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.5273, allocations: 35.88 kB / 0.7446 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.5281, allocations: 285.1 kB / 0.7449 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.5302, allocations: 0.7063 MB / 0.7456 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.5335, allocations: 1.213 MB / 0.7468 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005009/0.5385, allocations: 4.063 MB / 0.7507 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3402/0.8788, allocations: 2.643 MB / 0.7533 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.8819, allocations: 1.632 MB / 0.7549 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.8845, allocations: 1.735 MB / 0.7566 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.8858, allocations: 342.7 kB / 0.7569 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.8885, allocations: 0.9417 MB / 0.7578 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.8899, allocations: 0.8864 MB / 0.7587 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.8923, allocations: 1.72 MB / 0.7604 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005878/0.8982, allocations: 4.649 MB / 0.7649 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8983, allocations: 0 / 0.7649 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8983, allocations: 0 / 0.7649 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000101/0.8984, allocations: 0.625 kB / 0.7649 GB, free: 1.309 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.00801/0.9064, allocations: 3.862 MB / 0.7687 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.9064, allocations: 10.58 kB / 0.7687 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009057/0.9155, allocations: 1.29 MB / 0.77 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.9199, allocations: 1.915 MB / 0.7718 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.9201, allocations: 235.9 kB / 0.7721 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006847/0.9208, allocations: 291.2 kB / 0.7723 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008355/0.9292, allocations: 4.216 MB / 0.7765 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.183e-05/0.9293, allocations: 6.594 kB / 0.7765 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/0.9297, allocations: 128 kB / 0.7766 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/0.9297, allocations: 73.94 kB / 0.7767 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.9407, allocations: 4.566 MB / 0.7811 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.9641, allocations: 12.75 MB / 0.7936 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009551/0.9737, allocations: 3.774 MB / 0.7973 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/0.9772, allocations: 1.554 MB / 0.7988 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.9784, allocations: 1.087 MB / 0.7998 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004109/0.9825, allocations: 1.939 MB / 0.8017 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=223): time 4.709e-06/0.9826, allocations: 0 / 0.8017 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=223): time 0.01215/0.9947, allocations: 4.9 MB / 0.8065 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.9949, allocations: 258.6 kB / 0.8068 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003608/0.9985, allocations: 1.908 MB / 0.8086 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005556/0.9991, allocations: 67.8 kB / 0.8087 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1, allocations: 1.219 MB / 0.8099 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000831/1.001, allocations: 0.7449 MB / 0.8106 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008722/1.002, allocations: 0.5236 MB / 0.8111 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.002, allocations: 310.4 kB / 0.8114 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/1.006, allocations: 1.443 MB / 0.8128 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00351/1.009, allocations: 1.756 MB / 0.8145 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00679/1.016, allocations: 3.196 MB / 0.8177 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.016, allocations: 4 kB / 0.8177 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00925/1.025, allocations: 3.724 MB / 0.8213 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.025, allocations: 12.06 kB / 0.8213 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.025, allocations: 4 kB / 0.8213 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/1.026, allocations: 96.77 kB / 0.8214 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/1.03, allocations: 0.7145 MB / 0.8221 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/1.032, allocations: 1.646 MB / 0.8237 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.036, allocations: 444.4 kB / 0.8241 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005779/1.036, allocations: 127.8 kB / 0.8243 GB, free: 10.21 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,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 (282): * Single equations (assignments): 281 * 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.001981/1.038, allocations: 0.803 MB / 0.825 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/1.039, allocations: 225.2 kB / 0.8253 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.049, allocations: 4.018 MB / 0.8292 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/1.049, allocations: 24 kB / 0.8292 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.049, allocations: 0 / 0.8292 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/1.049, allocations: 15.89 kB / 0.8292 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.064, allocations: 7.187 MB / 0.8362 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.064, allocations: 4 kB / 0.8362 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003016/1.067, allocations: 0.5913 MB / 0.8368 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/1.067, allocations: 80.78 kB / 0.8369 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/1.067, allocations: 63.95 kB / 0.837 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/1.069, allocations: 1.656 MB / 0.8386 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.07, allocations: 8 kB / 0.8386 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00755/1.077, allocations: 3.317 MB / 0.8418 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/1.079, allocations: 0.677 MB / 0.8425 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005322/1.079, allocations: 71.67 kB / 0.8425 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.082, allocations: 267.6 kB / 0.8428 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/1.082, allocations: 165 kB / 0.843 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.082, allocations: 87.8 kB / 0.843 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002078/1.084, allocations: 1.43 MB / 0.8444 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.11e-07/1.085, allocations: 0 / 0.8444 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002719/1.087, allocations: 0.8878 MB / 0.8453 GB, free: 4.375 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (251): * Single equations (assignments): 248 * 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.001663/1.089, allocations: 0.6946 MB / 0.846 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007806/1.097, allocations: 3.383 MB / 0.8493 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.097, allocations: 0 / 0.8493 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003587/1.1, allocations: 1.712 MB / 0.851 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.002247/1.103, allocations: 458 kB / 0.8514 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.115, allocations: 6.249 MB / 0.8575 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/1.117, allocations: 2.205 MB / 0.8597 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003282/1.12, allocations: 0.95 MB / 0.8606 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.121, allocations: 299.2 kB / 0.8609 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/1.121, allocations: 0 / 0.8609 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of Templates: time 0.06361/1.185, allocations: 39.01 MB / 0.899 GB, free: 14.08 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (rm -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)