Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006275/0.006275, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.001507/0.001507, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.5503, allocations: 80.91 MB / 0.6646 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1949/0.7452, allocations: 153.8 MB / 0.8148 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.7593, allocations: 10.4 MB / 0.825 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009387/0.7602, allocations: 19.88 kB / 0.825 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.7613, allocations: 257.9 kB / 0.8252 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002864/0.7642, allocations: 0.8831 MB / 0.8261 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.7669, allocations: 1.043 MB / 0.8271 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.7687, allocations: 1.511 MB / 0.8286 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.7704, allocations: 1.145 MB / 0.8297 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.7721, allocations: 0.6513 MB / 0.8303 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.7729, allocations: 0.5484 MB / 0.8309 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.7731, allocations: 124 kB / 0.831 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.775, allocations: 1.022 MB / 0.832 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.7753, allocations: 350.9 kB / 0.8323 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.7759, allocations: 0.5984 MB / 0.8329 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.7786, allocations: 2.074 MB / 0.8349 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7786, allocations: 0 / 0.8349 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7787, allocations: 0 / 0.8349 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.7787, allocations: 4 kB / 0.8349 GB, free: 2.578 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002567/0.7812, allocations: 1.649 MB / 0.8366 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.7813, allocations: 8.031 kB / 0.8366 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.7828, allocations: 267 kB / 0.8368 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.7841, allocations: 0.8714 MB / 0.8377 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/0.7841, allocations: 77.94 kB / 0.8377 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.7843, allocations: 91.94 kB / 0.8378 GB, free: 15.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.7861, allocations: 1.039 MB / 0.8388 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.7861, allocations: 7.984 kB / 0.8389 GB, free: 14.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/0.7862, allocations: 40 kB / 0.8389 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.7862, allocations: 24 kB / 0.8389 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.7884, allocations: 1.264 MB / 0.8401 GB, free: 13.11 MB / 0.67 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.004652/0.793, allocations: 3.047 MB / 0.8431 GB, free: 9.945 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.7948, allocations: 1.007 MB / 0.8441 GB, free: 8.914 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/0.7956, allocations: 397.2 kB / 0.8445 GB, free: 8.527 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.7958, allocations: 138.1 kB / 0.8446 GB, free: 8.371 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009965/0.7968, allocations: 0.54 MB / 0.8451 GB, free: 7.816 MB / 0.67 GB Notification: Performance of pre-optimization done (n=86): time 2.335e-06/0.7968, allocations: 4 kB / 0.8451 GB, free: 7.812 MB / 0.67 GB Notification: Performance of matching and sorting (n=86): time 0.003873/0.8007, allocations: 1.507 MB / 0.8466 GB, free: 6.258 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.8008, allocations: 196.9 kB / 0.8468 GB, free: 6.023 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009591/0.8018, allocations: 0.7624 MB / 0.8476 GB, free: 5.254 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/0.8019, allocations: 49.64 kB / 0.8476 GB, free: 5.199 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.8023, allocations: 445.1 kB / 0.848 GB, free: 4.758 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.8025, allocations: 301.4 kB / 0.8483 GB, free: 4.461 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.8028, allocations: 174.6 kB / 0.8485 GB, free: 4.285 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8029, allocations: 341.9 kB / 0.8488 GB, free: 3.945 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/0.8036, allocations: 321.8 kB / 0.8491 GB, free: 3.629 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.8044, allocations: 441.6 kB / 0.8495 GB, free: 3.176 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.8058, allocations: 0.7335 MB / 0.8502 GB, free: 2.434 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8058, allocations: 0 / 0.8502 GB, free: 2.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002363/0.8082, allocations: 1.01 MB / 0.8512 GB, free: 1.406 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.8082, allocations: 8 kB / 0.8512 GB, free: 1.398 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.8083, allocations: 4.062 kB / 0.8512 GB, free: 1.395 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007443/0.809, allocations: 117.5 kB / 0.8514 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/0.8099, allocations: 191.7 kB / 0.8515 GB, free: 1.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.8132, allocations: 3.065 MB / 0.8545 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/0.8139, allocations: 95.45 kB / 0.8546 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.814, allocations: 43.95 kB / 0.8547 GB, free: 13.6 MB / 0.6856 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000491/0.8145, allocations: 299.1 kB / 0.855 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.8148, allocations: 99.33 kB / 0.855 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.8175, allocations: 1.216 MB / 0.8562 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.8176, allocations: 15.88 kB / 0.8562 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8176, allocations: 3.984 kB / 0.8563 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.8176, allocations: 3.984 kB / 0.8563 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.8218, allocations: 2.229 MB / 0.8584 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8218, allocations: 4 kB / 0.8584 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.8226, allocations: 187.8 kB / 0.8586 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006277/0.8233, allocations: 105.6 kB / 0.8587 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.115e-05/0.8234, allocations: 27.92 kB / 0.8587 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.8268, allocations: 3.096 MB / 0.8618 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8268, allocations: 8.094 kB / 0.8618 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.8293, allocations: 1.132 MB / 0.8629 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.8299, allocations: 304.1 kB / 0.8632 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.83, allocations: 16.19 kB / 0.8632 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.8308, allocations: 67.92 kB / 0.8632 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.831, allocations: 76.89 kB / 0.8633 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/0.8311, allocations: 39.97 kB / 0.8634 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007856/0.8319, allocations: 0.5381 MB / 0.8639 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8319, allocations: 0 / 0.8639 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001243/0.8331, allocations: 422.9 kB / 0.8643 GB, free: 3.328 MB / 0.6856 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.00186/0.835, allocations: 0.7145 MB / 0.865 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.8372, allocations: 1.072 MB / 0.866 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8372, allocations: 3.938 kB / 0.866 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.8385, allocations: 0.6903 MB / 0.8667 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.8399, allocations: 341.4 kB / 0.867 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3903/1.23, allocations: 2.038 MB / 0.869 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008148/1.231, allocations: 1.078 MB / 0.8701 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001317/1.232, allocations: 292.9 kB / 0.8704 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/1.233, allocations: 114.5 kB / 0.8705 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/1.233, allocations: 0.8125 kB / 0.8705 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.03654/1.269, allocations: 18.68 MB / 0.8887 GB, free: 181.8 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)