Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.TestGasValveOpPoint,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValveOpPoint,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint",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.0008161/0.0008162, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.0008725/0.0008725, allocations: 177 kB / 17.56 MB, free: 6.18 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.12/1.12, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2289/0.2289, allocations: 48.79 MB / 320.8 MB, free: 11.11 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.0004517/0.0004518, allocations: 13.45 kB / 391.9 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07589/0.07635, allocations: 60.28 MB / 452.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.3471/0.4235, allocations: 206.7 MB / 0.6435 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.4282, allocations: 3.072 MB / 0.6465 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.4286, allocations: 19.88 kB / 0.6465 GB, free: 8.059 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.4298, allocations: 0.5518 MB / 0.647 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.431, allocations: 0.8239 MB / 0.6478 GB, free: 6.676 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.4339, allocations: 1.422 MB / 0.6492 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00326/0.4371, allocations: 3.932 MB / 0.6531 GB, free: 1.312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.4382, allocations: 0.8406 MB / 0.6539 GB, free: 476 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.4395, allocations: 1.012 MB / 0.6549 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.4405, allocations: 1.024 MB / 0.6559 GB, free: 14.42 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.4407, allocations: 75.94 kB / 0.6559 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.4431, allocations: 1.703 MB / 0.6576 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005674/0.4437, allocations: 0.7325 MB / 0.6583 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008391/0.4445, allocations: 0.9701 MB / 0.6593 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.447, allocations: 2.929 MB / 0.6621 GB, free: 7.988 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.447, allocations: 0 / 0.6621 GB, free: 7.988 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.447, allocations: 0 / 0.6621 GB, free: 7.988 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.4471, allocations: 0 / 0.6621 GB, free: 7.988 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.00308/0.4501, allocations: 1.756 MB / 0.6638 GB, free: 6.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4502, allocations: 12.03 kB / 0.6638 GB, free: 6.168 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002446/0.4504, allocations: 207 kB / 0.664 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.4517, allocations: 329.8 kB / 0.6644 GB, free: 5.633 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.4527, allocations: 0.8453 MB / 0.6652 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/0.4528, allocations: 106.7 kB / 0.6653 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.453, allocations: 136 kB / 0.6654 GB, free: 4.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.4558, allocations: 1.861 MB / 0.6672 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.4558, allocations: 3.984 kB / 0.6672 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.456, allocations: 64 kB / 0.6673 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.456, allocations: 32 kB / 0.6673 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.4586, allocations: 1.581 MB / 0.6689 GB, free: 0.9336 MB / 478.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.0085/0.4671, allocations: 5.905 MB / 0.6746 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.4703, allocations: 1.188 MB / 0.6758 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.471, allocations: 369.5 kB / 0.6762 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.4711, allocations: 17.05 kB / 0.6762 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.4712, allocations: 62.36 kB / 0.6762 GB, free: 9.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 1.894e-06/0.4712, allocations: 0 / 0.6762 GB, free: 9.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=62): time 0.00764/0.4788, allocations: 2.503 MB / 0.6787 GB, free: 6.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.4789, allocations: 81.11 kB / 0.6788 GB, free: 6.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.4807, allocations: 1.657 MB / 0.6804 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.693e-05/0.4808, allocations: 49.7 kB / 0.6804 GB, free: 4.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.4812, allocations: 0.6147 MB / 0.681 GB, free: 4.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.4814, allocations: 212.9 kB / 0.6812 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.4815, allocations: 85.66 kB / 0.6813 GB, free: 3.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4816, allocations: 338 kB / 0.6816 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.4827, allocations: 0.4937 MB / 0.6821 GB, free: 2.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.4837, allocations: 0.6385 MB / 0.6827 GB, free: 2.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.4855, allocations: 0.9851 MB / 0.6837 GB, free: 1.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4856, allocations: 0 / 0.6837 GB, free: 1.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003026/0.4886, allocations: 1.572 MB / 0.6852 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.4887, allocations: 213.1 kB / 0.6854 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4887, allocations: 4 kB / 0.6854 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006171/0.4949, allocations: 1.008 MB / 0.6864 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.496, allocations: 239.7 kB / 0.6866 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.4992, allocations: 4.038 MB / 0.6906 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.5006, allocations: 257.8 kB / 0.6908 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.5007, allocations: 47.97 kB / 0.6909 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.5007, allocations: 4 kB / 0.6909 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/0.5033, allocations: 1.256 MB / 0.6921 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5033, allocations: 4 kB / 0.6921 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.5037, allocations: 117.7 kB / 0.6922 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.505, allocations: 299.7 kB / 0.6925 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.5087, allocations: 5.45 MB / 0.6978 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.5098, allocations: 230.2 kB / 0.6981 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.5099, allocations: 43.97 kB / 0.6981 GB, free: 1.785 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,12), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005802/0.5105, allocations: 437.3 kB / 0.6985 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.5107, allocations: 154.2 kB / 0.6987 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.5133, allocations: 1.16 MB / 0.6998 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5133, allocations: 11.94 kB / 0.6998 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.5133, allocations: 0 / 0.6998 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5133, allocations: 3.984 kB / 0.6998 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004213/0.5176, allocations: 2.444 MB / 0.7022 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5176, allocations: 3.938 kB / 0.7022 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.518, allocations: 119.9 kB / 0.7023 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005219/0.5233, allocations: 0.8565 MB / 0.7032 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.5233, allocations: 23.98 kB / 0.7032 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/0.5263, allocations: 4.039 MB / 0.7071 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5263, allocations: 4.031 kB / 0.7071 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.5288, allocations: 1.33 MB / 0.7084 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.5292, allocations: 287 kB / 0.7087 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.5294, allocations: 12 kB / 0.7087 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.5307, allocations: 123.9 kB / 0.7088 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.5308, allocations: 55.95 kB / 0.7089 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.531, allocations: 63.92 kB / 0.7089 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001348/0.5323, allocations: 1.153 MB / 0.7101 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5323, allocations: 0 / 0.7101 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001952/0.5343, allocations: 0.8429 MB / 0.7109 GB, free: 4.355 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003911/0.5382, allocations: 2.232 MB / 0.7131 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004176/0.5424, allocations: 1.93 MB / 0.715 GB, free: 112 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5424, allocations: 5.094 kB / 0.715 GB, free: 108 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.5435, allocations: 480.6 kB / 0.7154 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/0.5481, allocations: 0.9844 MB / 0.7164 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2086/0.7567, allocations: 14.45 MB / 0.7305 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.7574, allocations: 1.209 MB / 0.7317 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001552/0.759, allocations: 337.3 kB / 0.732 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.7595, allocations: 0.5182 MB / 0.7325 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.7595, allocations: 0 / 0.7325 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06121/0.8207, allocations: 55.36 MB / 0.7866 GB, free: 82.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.8209, allocations: 239.1 kB / 0.7868 GB, free: 82.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/3.755, allocations: 0.875 kB / 0.7868 GB, free: 82.41 MB / 0.5294 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe 2>&1)