Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 94.31 kB / 16.3 MB, free: 6.457 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.001633/0.001633, allocations: 184.9 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2647/0.2647, allocations: 48.78 MB / 320.4 MB, free: 11.33 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005178, allocations: 17.86 kB / 391.1 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 60.27 MB / 451.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.4122/0.5161, allocations: 180.7 MB / 0.6173 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009374/0.5256, allocations: 4.595 MB / 0.6218 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.5274, allocations: 31.22 kB / 0.6218 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.5297, allocations: 0.7665 MB / 0.6225 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.5327, allocations: 1.096 MB / 0.6236 GB, free: 9.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.5381, allocations: 1.85 MB / 0.6254 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004114/0.5422, allocations: 2.466 MB / 0.6278 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.5438, allocations: 1.055 MB / 0.6288 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.5462, allocations: 1.342 MB / 0.6302 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.5475, allocations: 1.027 MB / 0.6312 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.5478, allocations: 96.19 kB / 0.6313 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.5511, allocations: 1.155 MB / 0.6324 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008014/0.5519, allocations: 0.7598 MB / 0.6331 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008689/0.5528, allocations: 476.6 kB / 0.6336 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.5565, allocations: 2.5 MB / 0.636 GB, free: 172 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5566, allocations: 0 / 0.636 GB, free: 172 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5566, allocations: 7.938 kB / 0.636 GB, free: 164 kB / 446.1 MB Notification: Performance of Transformations before backend: time 3.88e-05/0.5566, allocations: 0 / 0.636 GB, free: 164 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.004594/0.5612, allocations: 2.229 MB / 0.6382 GB, free: 13.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5613, allocations: 16.03 kB / 0.6382 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.5631, allocations: 397.1 kB / 0.6386 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.5649, allocations: 1.011 MB / 0.6396 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.565, allocations: 135.3 kB / 0.6397 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.5652, allocations: 168 kB / 0.6399 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/0.569, allocations: 2.141 MB / 0.642 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.569, allocations: 0 / 0.642 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.5692, allocations: 79.98 kB / 0.642 GB, free: 9.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.5693, allocations: 40 kB / 0.6421 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.5728, allocations: 1.913 MB / 0.6439 GB, free: 7.906 MB / 462.1 MB 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.01075/0.5835, allocations: 7.229 MB / 0.651 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00468/0.5882, allocations: 1.727 MB / 0.6527 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.5884, allocations: 28.75 kB / 0.6527 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/0.5884, allocations: 66.47 kB / 0.6528 GB, free: 14.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.757e-06/0.5884, allocations: 0 / 0.6528 GB, free: 14.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=100): time 0.01427/0.6027, allocations: 4.129 MB / 0.6568 GB, free: 10.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.6028, allocations: 118.8 kB / 0.6569 GB, free: 9.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.6053, allocations: 1.832 MB / 0.6587 GB, free: 8.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.6055, allocations: 57.7 kB / 0.6588 GB, free: 8.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/0.6062, allocations: 0.8225 MB / 0.6596 GB, free: 7.176 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.6066, allocations: 339 kB / 0.6599 GB, free: 6.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.6067, allocations: 32 kB / 0.6599 GB, free: 6.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6068, allocations: 365.9 kB / 0.6603 GB, free: 6.445 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.6081, allocations: 0.5894 MB / 0.6609 GB, free: 5.855 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.6096, allocations: 1.004 MB / 0.6618 GB, free: 4.672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.6109, allocations: 0.6852 MB / 0.6625 GB, free: 3.988 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.611, allocations: 4 kB / 0.6625 GB, free: 3.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004519/0.6155, allocations: 2.126 MB / 0.6646 GB, free: 1.844 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001974/0.6175, allocations: 5.238 MB / 0.6697 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.6175, allocations: 16 kB / 0.6697 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009078/0.6266, allocations: 1.479 MB / 0.6712 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.6281, allocations: 339.5 kB / 0.6715 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005181/0.6333, allocations: 6.124 MB / 0.6775 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.6357, allocations: 361.3 kB / 0.6778 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.636, allocations: 75.97 kB / 0.6779 GB, free: 3.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.636, allocations: 4 kB / 0.6779 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00382/0.6398, allocations: 1.728 MB / 0.6796 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.6399, allocations: 16.12 kB / 0.6796 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.6406, allocations: 182.6 kB / 0.6798 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.6422, allocations: 431.3 kB / 0.6802 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/0.6477, allocations: 7.566 MB / 0.6876 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.6499, allocations: 305.9 kB / 0.6879 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.65, allocations: 75.97 kB / 0.6879 GB, free: 8.836 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 18,2 18} Notification: Performance of prepare postOptimizeDAE: time 0.0009505/0.651, allocations: 484.6 kB / 0.6884 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.6514, allocations: 201.7 kB / 0.6886 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.6556, allocations: 1.799 MB / 0.6903 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.6556, allocations: 12 kB / 0.6904 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6556, allocations: 1.562 kB / 0.6904 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.6556, allocations: 11.97 kB / 0.6904 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006596/0.6622, allocations: 3.627 MB / 0.6939 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/0.6622, allocations: 8.062 kB / 0.6939 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/0.663, allocations: 199.8 kB / 0.6941 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008417/0.6715, allocations: 1.383 MB / 0.6955 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.6716, allocations: 31.97 kB / 0.6955 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004498/0.6761, allocations: 6.13 MB / 0.7015 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.6761, allocations: 4 kB / 0.7015 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.6805, allocations: 2.36 MB / 0.7038 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006607/0.6812, allocations: 330.4 kB / 0.7041 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.6815, allocations: 20 kB / 0.7041 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.6833, allocations: 179.8 kB / 0.7043 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.6835, allocations: 88.64 kB / 0.7044 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/0.6836, allocations: 88.22 kB / 0.7045 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00158/0.6852, allocations: 1.245 MB / 0.7057 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6852, allocations: 0 / 0.7057 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003114/0.6884, allocations: 1.12 MB / 0.7068 GB, free: 4.902 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 20,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.6895, allocations: 499.5 kB / 0.7072 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006525/0.696, allocations: 2.69 MB / 0.7099 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.6961, allocations: 5 kB / 0.7099 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.698, allocations: 0.7454 MB / 0.7106 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005526/0.7035, allocations: 1.065 MB / 0.7116 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.7085, allocations: 3.554 MB / 0.7151 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008394/0.7094, allocations: 1.407 MB / 0.7165 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001759/0.7112, allocations: 371 kB / 0.7168 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.7114, allocations: 127.4 kB / 0.717 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.7114, allocations: 3.938 kB / 0.717 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of Templates: time 0.2487/0.9601, allocations: 48.64 MB / 0.7645 GB, free: 211.3 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1) Environment - environmentSimulation: