Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.006/0.006, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001493/0.001493, allocations: 196.6 kB / 16.68 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7924/0.7924, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 70.97 kB / 0.5813 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1568, allocations: 80.2 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5636/0.7204, allocations: 153.8 MB / 0.8098 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.7324, allocations: 10.4 MB / 0.82 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.7335, allocations: 20.56 kB / 0.82 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008389/0.7343, allocations: 267.4 kB / 0.8203 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.7373, allocations: 0.9055 MB / 0.8211 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.7398, allocations: 1.047 MB / 0.8222 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.7416, allocations: 1.51 MB / 0.8236 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.7432, allocations: 1.142 MB / 0.8247 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.7451, allocations: 0.6714 MB / 0.8254 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009567/0.7461, allocations: 0.5545 MB / 0.8259 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003682/0.7464, allocations: 120.1 kB / 0.8261 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.7492, allocations: 1.019 MB / 0.8271 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005551/0.7498, allocations: 359.9 kB / 0.8274 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000885/0.7507, allocations: 0.5979 MB / 0.828 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.7547, allocations: 2.061 MB / 0.83 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7547, allocations: 0 / 0.83 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7547, allocations: 0 / 0.83 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.766e-05/0.7548, allocations: 4 kB / 0.83 GB, free: 1.625 MB / 0.5919 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.003919/0.7587, allocations: 1.596 MB / 0.8316 GB, free: 396 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.7587, allocations: 10.19 kB / 0.8316 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.7606, allocations: 256.4 kB / 0.8318 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.7623, allocations: 0.8743 MB / 0.8327 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/0.7624, allocations: 68.38 kB / 0.8327 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.7625, allocations: 88.78 kB / 0.8328 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.7647, allocations: 1.047 MB / 0.8338 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.7647, allocations: 0 / 0.8338 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.7649, allocations: 41.97 kB / 0.8339 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.7649, allocations: 22.38 kB / 0.8339 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.7673, allocations: 1.272 MB / 0.8351 GB, free: 14.23 MB / 0.6075 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.005859/0.7731, allocations: 3.037 MB / 0.8381 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.7754, allocations: 1.016 MB / 0.8391 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008137/0.7762, allocations: 391.5 kB / 0.8395 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.7765, allocations: 134.7 kB / 0.8396 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.7776, allocations: 0.5537 MB / 0.8401 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 3.757e-06/0.7777, allocations: 0 / 0.8401 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.004139/0.7818, allocations: 1.502 MB / 0.8416 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.782, allocations: 190.4 kB / 0.8418 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.7834, allocations: 0.7649 MB / 0.8425 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.7835, allocations: 42.33 kB / 0.8426 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.784, allocations: 440.1 kB / 0.843 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.7844, allocations: 291.1 kB / 0.8433 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.7848, allocations: 174.9 kB / 0.8434 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.785, allocations: 342.1 kB / 0.8438 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.7857, allocations: 323.8 kB / 0.8441 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.7866, allocations: 438.4 kB / 0.8445 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.7881, allocations: 0.731 MB / 0.8452 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7882, allocations: 0 / 0.8452 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002516/0.7907, allocations: 1.005 MB / 0.8462 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.7907, allocations: 11.94 kB / 0.8462 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7907, allocations: 3.984 kB / 0.8462 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007386/0.7915, allocations: 117.6 kB / 0.8463 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.7924, allocations: 183.8 kB / 0.8465 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.7957, allocations: 3.055 MB / 0.8495 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/0.7966, allocations: 102.1 kB / 0.8496 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.7966, allocations: 47.91 kB / 0.8496 GB, free: 2.762 MB / 0.6075 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.000526/0.7972, allocations: 305.3 kB / 0.8499 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.7974, allocations: 98.8 kB / 0.85 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.8003, allocations: 1.209 MB / 0.8512 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.8003, allocations: 12 kB / 0.8512 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8003, allocations: 3.938 kB / 0.8512 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.8003, allocations: 3.984 kB / 0.8512 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.8045, allocations: 2.232 MB / 0.8534 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.8045, allocations: 3.984 kB / 0.8534 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.8054, allocations: 179.8 kB / 0.8536 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005975/0.806, allocations: 109.6 kB / 0.8537 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/0.806, allocations: 23.98 kB / 0.8537 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/0.8091, allocations: 3.096 MB / 0.8567 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.8092, allocations: 3.938 kB / 0.8567 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.8118, allocations: 1.135 MB / 0.8578 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006121/0.8124, allocations: 295.6 kB / 0.8581 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.8126, allocations: 23.94 kB / 0.8581 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/0.8134, allocations: 64.11 kB / 0.8582 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.8136, allocations: 64.91 kB / 0.8583 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.8137, allocations: 51.89 kB / 0.8583 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008007/0.8145, allocations: 0.5459 MB / 0.8588 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8145, allocations: 0 / 0.8588 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001315/0.8158, allocations: 419.2 kB / 0.8592 GB, free: 8.504 MB / 0.6231 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.002108/0.818, allocations: 0.7012 MB / 0.8599 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.8204, allocations: 1.073 MB / 0.861 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8204, allocations: 0 / 0.861 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.8216, allocations: 0.6904 MB / 0.8616 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.8232, allocations: 347.8 kB / 0.862 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.8278, allocations: 2.019 MB / 0.8639 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.8285, allocations: 1.079 MB / 0.865 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009559/0.8295, allocations: 303.1 kB / 0.8653 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.8298, allocations: 115.3 kB / 0.8654 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.8298, allocations: 0 / 0.8654 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of Templates: time 0.03491/0.8647, allocations: 18.65 MB / 0.8836 GB, free: 15.84 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)