Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005393/0.005393, allocations: 100.4 kB / 15.73 MB, free: 6.039 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.001157/0.001157, allocations: 187.7 kB / 16.67 MB, free: 5.969 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7699/0.7699, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 61.98 kB / 0.5815 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1865, allocations: 80.2 MB / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009601/0.1961, allocations: 7.12 MB / 0.6668 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6737/0.8699, allocations: 155.5 MB / 0.8187 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.8722, allocations: 31.09 kB / 0.8187 GB, free: 3.668 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.00116/0.8734, allocations: 290.1 kB / 0.819 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.8767, allocations: 0.7224 MB / 0.8197 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004571/0.8813, allocations: 1.218 MB / 0.8209 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007969/0.8893, allocations: 4.069 MB / 0.8249 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004268/0.8936, allocations: 2.464 MB / 0.8273 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/0.8988, allocations: 1.687 MB / 0.8289 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004463/0.9033, allocations: 1.746 MB / 0.8306 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.9048, allocations: 344.1 kB / 0.8309 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.9083, allocations: 0.9394 MB / 0.8319 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.9093, allocations: 0.896 MB / 0.8327 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.9126, allocations: 1.724 MB / 0.8344 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.9199, allocations: 4.672 MB / 0.839 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.92, allocations: 3.438 kB / 0.839 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.044e-06/0.92, allocations: 0 / 0.839 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001653/0.9202, allocations: 0.9062 kB / 0.839 GB, free: 1.75 MB / 0.6387 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.009239/0.9294, allocations: 3.898 MB / 0.8428 GB, free: 160 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9295, allocations: 11.09 kB / 0.8428 GB, free: 160 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009001/0.9385, allocations: 1.295 MB / 0.8441 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/0.9429, allocations: 1.937 MB / 0.846 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.9432, allocations: 244.6 kB / 0.8462 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008212/0.944, allocations: 292.2 kB / 0.8465 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009523/0.9535, allocations: 4.205 MB / 0.8506 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/0.9536, allocations: 3.125 kB / 0.8506 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.954, allocations: 124.2 kB / 0.8507 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/0.954, allocations: 74.62 kB / 0.8508 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.9645, allocations: 4.595 MB / 0.8553 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02382/0.9883, allocations: 12.78 MB / 0.8677 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.9988, allocations: 3.788 MB / 0.8714 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003978/1.003, allocations: 1.55 MB / 0.8729 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/1.004, allocations: 1.074 MB / 0.874 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004604/1.009, allocations: 1.944 MB / 0.8759 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=223): time 6.021e-06/1.009, allocations: 0 / 0.8759 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=223): time 0.01346/1.022, allocations: 4.907 MB / 0.8807 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/1.023, allocations: 265 kB / 0.8809 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/1.026, allocations: 1.952 MB / 0.8828 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005333/1.026, allocations: 62.42 kB / 0.8829 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/1.028, allocations: 1.228 MB / 0.8841 GB, free: 396 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/1.029, allocations: 0.7483 MB / 0.8848 GB, free: 15.74 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/1.03, allocations: 0.5249 MB / 0.8853 GB, free: 15.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.03, allocations: 305.6 kB / 0.8856 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/1.034, allocations: 1.447 MB / 0.8871 GB, free: 13.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/1.038, allocations: 1.764 MB / 0.8888 GB, free: 12.14 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007791/1.046, allocations: 3.19 MB / 0.8919 GB, free: 8.895 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.046, allocations: 0 / 0.8919 GB, free: 8.895 MB / 0.67 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01037/1.056, allocations: 3.739 MB / 0.8955 GB, free: 5.176 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/1.056, allocations: 8 kB / 0.8955 GB, free: 5.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.056, allocations: 7.938 kB / 0.8956 GB, free: 5.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/1.057, allocations: 92.91 kB / 0.8956 GB, free: 5.066 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/1.061, allocations: 0.7142 MB / 0.8963 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/1.064, allocations: 1.636 MB / 0.8979 GB, free: 2.613 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005274/1.069, allocations: 441.4 kB / 0.8984 GB, free: 2.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/1.07, allocations: 127.8 kB / 0.8985 GB, free: 2.055 MB / 0.67 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.003731/1.074, allocations: 0.8091 MB / 0.8993 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.075, allocations: 233.1 kB / 0.8995 GB, free: 1.031 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.086, allocations: 4.019 MB / 0.9034 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/1.086, allocations: 27.94 kB / 0.9034 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.086, allocations: 0 / 0.9034 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/1.086, allocations: 11.95 kB / 0.9035 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.101, allocations: 7.192 MB / 0.9105 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.101, allocations: 0 / 0.9105 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/1.104, allocations: 0.5981 MB / 0.9111 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/1.104, allocations: 80.78 kB / 0.9111 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/1.104, allocations: 67.89 kB / 0.9112 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/1.107, allocations: 1.672 MB / 0.9128 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.107, allocations: 0 / 0.9128 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008318/1.115, allocations: 3.328 MB / 0.9161 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/1.117, allocations: 0.6809 MB / 0.9168 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/1.117, allocations: 63.69 kB / 0.9168 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.119, allocations: 271.6 kB / 0.9171 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/1.12, allocations: 153.8 kB / 0.9172 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.12, allocations: 83.95 kB / 0.9173 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002389/1.123, allocations: 1.469 MB / 0.9187 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.11e-07/1.123, allocations: 0 / 0.9187 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003115/1.126, allocations: 0.8839 MB / 0.9196 GB, free: 12.16 MB / 0.7012 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.001786/1.127, allocations: 0.68 MB / 0.9203 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008352/1.136, allocations: 3.383 MB / 0.9236 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.136, allocations: 4 kB / 0.9236 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004225/1.14, allocations: 1.719 MB / 0.9252 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.143, allocations: 469.2 kB / 0.9257 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.157, allocations: 6.281 MB / 0.9318 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/1.159, allocations: 2.225 MB / 0.934 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003378/1.162, allocations: 0.9502 MB / 0.9349 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.163, allocations: 303.2 kB / 0.9352 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of SimCode: time 1.282e-06/1.163, allocations: 4 kB / 0.9352 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.07115/1.235, allocations: 39.67 MB / 0.974 GB, free: 5.168 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile (rm -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)