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.0008414/0.0008414, allocations: 80.5 kB / 16.31 MB, free: 6.449 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.0009075/0.0009075, allocations: 181.8 kB / 17.21 MB, free: 6.316 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.637/1.637, allocations: 205.4 MB / 223.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4223/0.4223, allocations: 48.77 MB / 320.4 MB, free: 3.824 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.0005354/0.0005354, allocations: 12 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 60.25 MB / 451.5 MB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.7261/0.8489, allocations: 192.4 MB / 0.6289 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.8535, allocations: 2.942 MB / 0.6317 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008126/0.8544, allocations: 22.38 kB / 0.6318 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.8556, allocations: 434.9 kB / 0.6322 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.8572, allocations: 0.8445 MB / 0.633 GB, free: 5.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.8605, allocations: 1.161 MB / 0.6341 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004071/0.8646, allocations: 3.308 MB / 0.6374 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.8661, allocations: 0.8005 MB / 0.6381 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.8682, allocations: 1.01 MB / 0.6391 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.8697, allocations: 1.039 MB / 0.6401 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.87, allocations: 72.91 kB / 0.6402 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003084/0.8731, allocations: 1.236 MB / 0.6414 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.8741, allocations: 0.771 MB / 0.6422 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009728/0.8751, allocations: 382.2 kB / 0.6425 GB, free: 21.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.8784, allocations: 2.137 MB / 0.6446 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8784, allocations: 0.5938 kB / 0.6446 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8784, allocations: 0 / 0.6446 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.792e-05/0.8784, allocations: 0.8438 kB / 0.6446 GB, free: 20.92 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004329/0.8828, allocations: 1.77 MB / 0.6464 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8828, allocations: 13.5 kB / 0.6464 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003694/0.8832, allocations: 213.3 kB / 0.6466 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.8848, allocations: 320 kB / 0.6469 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.8863, allocations: 0.8276 MB / 0.6477 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.8865, allocations: 109.6 kB / 0.6478 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.8867, allocations: 134.7 kB / 0.6479 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003674/0.8904, allocations: 1.841 MB / 0.6497 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.8904, allocations: 0.9062 kB / 0.6497 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.8906, allocations: 64.31 kB / 0.6498 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.8906, allocations: 39.8 kB / 0.6498 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.8936, allocations: 1.563 MB / 0.6513 GB, free: 19.43 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.01035/0.9039, allocations: 5.902 MB / 0.6571 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.9071, allocations: 1.191 MB / 0.6583 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.9079, allocations: 361 kB / 0.6586 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.748e-05/0.908, allocations: 17.23 kB / 0.6586 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/0.908, allocations: 57.45 kB / 0.6587 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 3.096e-06/0.908, allocations: 0 / 0.6587 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.007624/0.9157, allocations: 2.487 MB / 0.6611 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.9157, allocations: 86.7 kB / 0.6612 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.9178, allocations: 1.647 MB / 0.6628 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.918, allocations: 46.83 kB / 0.6628 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.9184, allocations: 0.621 MB / 0.6635 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.9186, allocations: 210.6 kB / 0.6637 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.9187, allocations: 18 kB / 0.6637 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9188, allocations: 339.9 kB / 0.664 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/0.9197, allocations: 483.9 kB / 0.6645 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008942/0.9206, allocations: 0.6315 MB / 0.6651 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.9215, allocations: 0.5141 MB / 0.6656 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9215, allocations: 2.844 kB / 0.6656 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002809/0.9243, allocations: 1.531 MB / 0.6671 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.9244, allocations: 218.8 kB / 0.6673 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.9245, allocations: 6.438 kB / 0.6673 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004889/0.9294, allocations: 0.919 MB / 0.6682 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.9304, allocations: 246 kB / 0.6684 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.9336, allocations: 4.032 MB / 0.6724 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.9356, allocations: 254.3 kB / 0.6726 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.9357, allocations: 49.69 kB / 0.6726 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.9357, allocations: 3.531 kB / 0.6727 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002328/0.9381, allocations: 1.248 MB / 0.6739 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.9381, allocations: 7.266 kB / 0.6739 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/0.9384, allocations: 107.1 kB / 0.674 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.9396, allocations: 307 kB / 0.6743 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.9432, allocations: 5.449 MB / 0.6796 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.945, allocations: 231.5 kB / 0.6798 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.9451, allocations: 46.69 kB / 0.6799 GB, free: 5.07 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 (linear and non-linear blocks): 4 * 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: 4 {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 {1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009334/0.9461, allocations: 428.2 kB / 0.6803 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.9464, allocations: 154.4 kB / 0.6804 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.9488, allocations: 1.153 MB / 0.6815 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.9489, allocations: 9.703 kB / 0.6816 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9489, allocations: 5.031 kB / 0.6816 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.9489, allocations: 144 / 0.6816 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.9533, allocations: 2.438 MB / 0.6839 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.9533, allocations: 2.688 kB / 0.6839 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.9538, allocations: 128.8 kB / 0.6841 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004639/0.9584, allocations: 0.8563 MB / 0.6849 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.9585, allocations: 21.27 kB / 0.6849 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/0.9614, allocations: 4.041 MB / 0.6889 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.9614, allocations: 5.344 kB / 0.6889 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.9641, allocations: 1.333 MB / 0.6902 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.9648, allocations: 290.3 kB / 0.6904 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.965, allocations: 17.17 kB / 0.6905 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.9663, allocations: 116 kB / 0.6906 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.9664, allocations: 61.88 kB / 0.6906 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.9666, allocations: 65.61 kB / 0.6907 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001387/0.968, allocations: 1.139 MB / 0.6918 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.968, allocations: 0 / 0.6918 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002381/0.9704, allocations: 0.8395 MB / 0.6926 GB, free: 14.45 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 (linear and non-linear blocks): 4 * 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: 4 {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 {1 13,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003637/0.974, allocations: 2.159 MB / 0.6947 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003985/0.978, allocations: 1.911 MB / 0.6966 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.978, allocations: 5.156 kB / 0.6966 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.9791, allocations: 471.2 kB / 0.6971 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/0.9837, allocations: 0.9905 MB / 0.698 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.9995, allocations: 9.282 MB / 0.7071 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007785/1, allocations: 1.205 MB / 0.7083 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001957/1.002, allocations: 345.9 kB / 0.7086 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005902/1.003, allocations: 0.5167 MB / 0.7091 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of SimCode: time 1.733e-06/1.003, allocations: 0 / 0.7091 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08412/1.087, allocations: 54.17 MB / 0.762 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/1.087, allocations: 212.6 kB / 0.7622 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.31, allocations: 0 / 0.7622 GB, free: 11.18 MB / 0.5762 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/linux/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) Environment - environmentSimulation: