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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValve,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValve,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 87.69 kB / 16.31 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.001063/0.001064, allocations: 182.3 kB / 17.21 MB, free: 6.328 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.621/1.621, allocations: 205.4 MB / 223.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4669/0.4669, allocations: 48.78 MB / 320.4 MB, free: 3.832 MB / 254.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.0005287/0.0005288, allocations: 12 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1292, allocations: 60.25 MB / 451.5 MB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.6975/0.8267, allocations: 230.1 MB / 0.6657 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.8343, allocations: 4.723 MB / 0.6703 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.8356, allocations: 34.28 kB / 0.6703 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.8375, allocations: 0.7035 MB / 0.671 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.8407, allocations: 1.374 MB / 0.6724 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005237/0.846, allocations: 1.835 MB / 0.6742 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006801/0.8528, allocations: 5.069 MB / 0.6791 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.8552, allocations: 1.031 MB / 0.6801 GB, free: 20.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.8588, allocations: 1.426 MB / 0.6815 GB, free: 20.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.8612, allocations: 1.465 MB / 0.6829 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.8616, allocations: 98.94 kB / 0.683 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.865, allocations: 1.355 MB / 0.6844 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009318/0.8659, allocations: 0.8217 MB / 0.6852 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.867, allocations: 474 kB / 0.6856 GB, free: 20.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.8704, allocations: 2.531 MB / 0.6881 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8704, allocations: 2.906 kB / 0.6881 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8704, allocations: 3.344 kB / 0.6881 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.184e-05/0.8704, allocations: 0 / 0.6881 GB, free: 19.19 MB / 0.4981 GB 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.00418/0.8746, allocations: 2.23 MB / 0.6903 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.8747, allocations: 8.594 kB / 0.6903 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003396/0.875, allocations: 256.2 kB / 0.6905 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.8767, allocations: 398.8 kB / 0.6909 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.8783, allocations: 1.005 MB / 0.6919 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.8784, allocations: 136.7 kB / 0.692 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.8786, allocations: 174.4 kB / 0.6922 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/0.882, allocations: 2.147 MB / 0.6943 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.8821, allocations: 0.6875 kB / 0.6943 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.8823, allocations: 79.89 kB / 0.6944 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.8823, allocations: 41.95 kB / 0.6944 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.8853, allocations: 1.903 MB / 0.6963 GB, free: 16.14 MB / 0.4981 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.009458/0.8948, allocations: 7.285 MB / 0.7034 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/0.8987, allocations: 1.734 MB / 0.7051 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.8996, allocations: 0.5578 MB / 0.7056 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.291e-05/0.8997, allocations: 22.39 kB / 0.7056 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.8998, allocations: 61.62 kB / 0.7057 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 2.926e-06/0.8998, allocations: 0 / 0.7057 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.01222/0.912, allocations: 4.154 MB / 0.7097 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.9121, allocations: 118.1 kB / 0.7099 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.9142, allocations: 1.833 MB / 0.7116 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.9144, allocations: 59.94 kB / 0.7117 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/0.9149, allocations: 0.8112 MB / 0.7125 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.9151, allocations: 341.4 kB / 0.7128 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.9152, allocations: 29.31 kB / 0.7129 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.9153, allocations: 366.3 kB / 0.7132 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.9165, allocations: 0.5878 MB / 0.7138 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.9178, allocations: 1.004 MB / 0.7148 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.9191, allocations: 0.6865 MB / 0.7154 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.9191, allocations: 4 kB / 0.7154 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003987/0.9231, allocations: 2.135 MB / 0.7175 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.9234, allocations: 486.6 kB / 0.718 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.9234, allocations: 12 kB / 0.718 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008108/0.9316, allocations: 1.479 MB / 0.7194 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.9329, allocations: 330.2 kB / 0.7197 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/0.9378, allocations: 6.126 MB / 0.7257 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.9401, allocations: 361.9 kB / 0.7261 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.9402, allocations: 78.02 kB / 0.7262 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.9403, allocations: 5.75 kB / 0.7262 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003494/0.9438, allocations: 1.736 MB / 0.7279 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.9438, allocations: 12 kB / 0.7279 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.9444, allocations: 190.1 kB / 0.728 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.946, allocations: 430.7 kB / 0.7285 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/0.9512, allocations: 7.524 MB / 0.7358 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.9533, allocations: 310.6 kB / 0.7361 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.9535, allocations: 73.59 kB / 0.7362 GB, free: 0.7305 MB / 0.5137 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.0009517/0.9544, allocations: 481.6 kB / 0.7366 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/0.9548, allocations: 205.6 kB / 0.7368 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.9588, allocations: 1.79 MB / 0.7386 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.9588, allocations: 19.98 kB / 0.7386 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9589, allocations: 3.781 kB / 0.7386 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.9589, allocations: 9.984 kB / 0.7386 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/0.9653, allocations: 3.621 MB / 0.7421 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9653, allocations: 4 kB / 0.7421 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.9661, allocations: 205.8 kB / 0.7423 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007511/0.9736, allocations: 1.379 MB / 0.7437 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.9738, allocations: 34.59 kB / 0.7437 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.9783, allocations: 6.126 MB / 0.7497 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.9783, allocations: 6.531 kB / 0.7497 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.9825, allocations: 2.095 MB / 0.7518 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007148/0.9832, allocations: 324 kB / 0.7521 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.9835, allocations: 28.17 kB / 0.7521 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.9852, allocations: 184.4 kB / 0.7523 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.9854, allocations: 84.8 kB / 0.7523 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.9855, allocations: 86.78 kB / 0.7524 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00157/0.9871, allocations: 1.239 MB / 0.7536 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9871, allocations: 0 / 0.7536 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003277/0.9904, allocations: 1.134 MB / 0.7547 GB, free: 0 / 0.5294 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.005129/0.9956, allocations: 3.017 MB / 0.7577 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006171/1.002, allocations: 2.7 MB / 0.7603 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.002, allocations: 5 kB / 0.7603 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/1.004, allocations: 0.7463 MB / 0.7611 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005143/1.009, allocations: 1.094 MB / 0.7621 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/1.027, allocations: 11.91 MB / 0.7738 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008962/1.028, allocations: 1.365 MB / 0.7751 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001939/1.03, allocations: 375.3 kB / 0.7755 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/1.03, allocations: 0.6848 MB / 0.7761 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.03, allocations: 4 kB / 0.7761 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09501/1.125, allocations: 64.12 MB / 0.8388 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.125, allocations: 220.4 kB / 0.839 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/5, allocations: 3.938 kB / 0.839 GB, free: 12.48 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasValve.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1) Environment - environmentSimulation: