Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7614/0.7614, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 403.4 MB, free: 7.055 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 102 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 55.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1325, allocations: 80.2 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.443/0.5755, allocations: 164.7 MB / 0.801 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.5956, allocations: 17.17 MB / 0.8177 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.5971, allocations: 27.81 kB / 0.8178 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.5986, allocations: 461.2 kB / 0.8182 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.6028, allocations: 1.46 MB / 0.8196 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.606, allocations: 1.235 MB / 0.8208 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003104/0.6091, allocations: 2.799 MB / 0.8236 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.6113, allocations: 1.838 MB / 0.8254 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.6167, allocations: 1.221 MB / 0.8266 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.6179, allocations: 1.015 MB / 0.8276 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.6182, allocations: 116 kB / 0.8277 GB, free: 3.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.6211, allocations: 1.587 MB / 0.8292 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.6217, allocations: 0.6775 MB / 0.8299 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.6227, allocations: 1.037 MB / 0.8309 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.6268, allocations: 3.325 MB / 0.8341 GB, free: 12.51 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6268, allocations: 0 / 0.8341 GB, free: 12.51 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6268, allocations: 0 / 0.8341 GB, free: 12.51 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.738e-05/0.6268, allocations: 4 kB / 0.8341 GB, free: 12.51 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004297/0.6312, allocations: 2.653 MB / 0.8367 GB, free: 9.793 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.6312, allocations: 8.031 kB / 0.8367 GB, free: 9.785 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.6348, allocations: 0.5474 MB / 0.8373 GB, free: 9.234 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.6376, allocations: 1.572 MB / 0.8388 GB, free: 7.609 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.883e-05/0.6377, allocations: 127.2 kB / 0.8389 GB, free: 7.484 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.6379, allocations: 160 kB / 0.8391 GB, free: 7.328 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/0.6411, allocations: 1.892 MB / 0.8409 GB, free: 5.383 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.6411, allocations: 0 / 0.8409 GB, free: 5.383 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.6413, allocations: 68 kB / 0.841 GB, free: 5.316 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.6413, allocations: 43.94 kB / 0.841 GB, free: 5.273 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/0.6449, allocations: 2.069 MB / 0.8431 GB, free: 3.199 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009483/0.6544, allocations: 5.711 MB / 0.8486 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.6575, allocations: 2.028 MB / 0.8506 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.6588, allocations: 0.7413 MB / 0.8513 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/0.6593, allocations: 429.7 kB / 0.8518 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.661, allocations: 0.9466 MB / 0.8527 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=137): time 3.006e-06/0.661, allocations: 0 / 0.8527 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=137): time 0.006779/0.6678, allocations: 2.864 MB / 0.8555 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.6679, allocations: 197.2 kB / 0.8557 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.6705, allocations: 1.784 MB / 0.8574 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.6707, allocations: 57.7 kB / 0.8575 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007769/0.6715, allocations: 0.8232 MB / 0.8583 GB, free: 3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.6719, allocations: 457.2 kB / 0.8587 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/0.6724, allocations: 242.8 kB / 0.8589 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6725, allocations: 357.8 kB / 0.8593 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.6737, allocations: 0.5725 MB / 0.8598 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.6751, allocations: 0.7818 MB / 0.8606 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.6775, allocations: 1.298 MB / 0.8619 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.6775, allocations: 7.938 kB / 0.8619 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004296/0.6818, allocations: 1.76 MB / 0.8636 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.6819, allocations: 4 kB / 0.8636 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.6819, allocations: 7.938 kB / 0.8636 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.6831, allocations: 208.2 kB / 0.8638 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.6847, allocations: 323.6 kB / 0.8641 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/0.6908, allocations: 6.808 MB / 0.8708 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.6927, allocations: 166.9 kB / 0.8709 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/0.693, allocations: 51.97 kB / 0.871 GB, free: 5.203 MB / 0.6042 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 (141): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001254/0.6942, allocations: 479.4 kB / 0.8714 GB, free: 4.727 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006292/0.6949, allocations: 173.8 kB / 0.8716 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/0.6999, allocations: 2.054 MB / 0.8736 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.7, allocations: 12 kB / 0.8736 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.7, allocations: 4 kB / 0.8736 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.7, allocations: 7.969 kB / 0.8736 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007696/0.7077, allocations: 3.832 MB / 0.8774 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.7078, allocations: 0 / 0.8774 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.7093, allocations: 315.6 kB / 0.8777 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009989/0.7103, allocations: 208.1 kB / 0.8779 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.7104, allocations: 39.97 kB / 0.8779 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/0.7165, allocations: 6.838 MB / 0.8846 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7165, allocations: 4.031 kB / 0.8846 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006879/0.7234, allocations: 3.632 MB / 0.8881 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.7246, allocations: 454.3 kB / 0.8886 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/0.725, allocations: 28 kB / 0.8886 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.7264, allocations: 115.9 kB / 0.8887 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.7267, allocations: 97.17 kB / 0.8888 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.7269, allocations: 67.95 kB / 0.8889 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001949/0.7288, allocations: 1.277 MB / 0.8901 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.565e-06/0.7289, allocations: 0 / 0.8901 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001961/0.7308, allocations: 0.6546 MB / 0.8907 GB, free: 40 kB / 0.6198 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/0.7327, allocations: 0.7445 MB / 0.8915 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003829/0.7366, allocations: 2.023 MB / 0.8934 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.7366, allocations: 4.797 kB / 0.8934 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.7388, allocations: 1.379 MB / 0.8948 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/0.7418, allocations: 0.4979 MB / 0.8953 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.7519, allocations: 5.434 MB / 0.9006 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.7537, allocations: 1.544 MB / 0.9021 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002486/0.7562, allocations: 492.4 kB / 0.9026 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.7569, allocations: 163.4 kB / 0.9027 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.7569, allocations: 0 / 0.9027 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.05517/0.8121, allocations: 29.89 MB / 0.9319 GB, free: 6.094 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)