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.00118/0.00118, allocations: 92.2 kB / 16.3 MB, free: 5.996 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.001335/0.001335, allocations: 184.4 kB / 17.2 MB, free: 5.914 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.821/1.821, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6479/0.6479, allocations: 48.77 MB / 320.4 MB, free: 3.836 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.000995/0.0009951, allocations: 12 kB / 391.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.145, allocations: 60.25 MB / 451.5 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.6408/0.7858, allocations: 158.6 MB / 0.5958 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008171/0.794, allocations: 2.862 MB / 0.5985 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.796, allocations: 23.81 kB / 0.5986 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.7985, allocations: 477.8 kB / 0.599 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00328/0.8018, allocations: 0.6777 MB / 0.5997 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005993/0.8079, allocations: 1.169 MB / 0.6008 GB, free: 9.367 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004976/0.8129, allocations: 1.66 MB / 0.6024 GB, free: 7.711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.8153, allocations: 0.821 MB / 0.6033 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.8189, allocations: 1.013 MB / 0.6042 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.821, allocations: 0.7202 MB / 0.6049 GB, free: 5.148 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.8214, allocations: 72 kB / 0.605 GB, free: 5.078 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.8252, allocations: 0.909 MB / 0.6059 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.8264, allocations: 0.6976 MB / 0.6066 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008862/0.8273, allocations: 376.9 kB / 0.6069 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004259/0.8316, allocations: 2.081 MB / 0.609 GB, free: 1.012 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8317, allocations: 0 / 0.609 GB, free: 1.012 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.8317, allocations: 0 / 0.609 GB, free: 1.012 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.833e-05/0.8317, allocations: 0 / 0.609 GB, free: 1.012 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.006915/0.8387, allocations: 1.773 MB / 0.6107 GB, free: 15.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.026e-05/0.8388, allocations: 8.031 kB / 0.6107 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008406/0.8396, allocations: 210.5 kB / 0.6109 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.8431, allocations: 337.8 kB / 0.6112 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.8465, allocations: 0.8224 MB / 0.612 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.8467, allocations: 106.7 kB / 0.6121 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006394/0.8474, allocations: 136 kB / 0.6123 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00703/0.8545, allocations: 1.826 MB / 0.6141 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.308e-05/0.8546, allocations: 7.938 kB / 0.6141 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000538/0.8552, allocations: 60 kB / 0.6141 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.8552, allocations: 32 kB / 0.6141 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005404/0.8607, allocations: 1.573 MB / 0.6157 GB, free: 10 MB / 494.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.01899/0.8797, allocations: 5.831 MB / 0.6214 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005279/0.885, allocations: 1.191 MB / 0.6225 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.8852, allocations: 19.92 kB / 0.6226 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.8853, allocations: 50.56 kB / 0.6226 GB, free: 2.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 8.667e-06/0.8854, allocations: 4 kB / 0.6226 GB, free: 2.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=62): time 0.01327/0.8986, allocations: 2.473 MB / 0.625 GB, free: 0 / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2839/1.183, allocations: 87.44 kB / 0.6251 GB, free: 153.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/1.185, allocations: 1.638 MB / 0.6267 GB, free: 153.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000397/1.186, allocations: 49.89 kB / 0.6268 GB, free: 153.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006116/1.187, allocations: 0.6182 MB / 0.6274 GB, free: 153.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000441/1.187, allocations: 213.9 kB / 0.6276 GB, free: 153.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/1.187, allocations: 19.84 kB / 0.6276 GB, free: 153.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/1.187, allocations: 341.8 kB / 0.6279 GB, free: 152.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.189, allocations: 484.9 kB / 0.6284 GB, free: 152.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/1.191, allocations: 0.6281 MB / 0.629 GB, free: 152.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/1.192, allocations: 0.5154 MB / 0.6295 GB, free: 152.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/1.192, allocations: 0 / 0.6295 GB, free: 152.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005355/1.198, allocations: 1.529 MB / 0.631 GB, free: 152.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005314/1.198, allocations: 1.611 MB / 0.6326 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.198, allocations: 2.375 kB / 0.6326 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009071/1.207, allocations: 0.9167 MB / 0.6335 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/1.209, allocations: 244.1 kB / 0.6337 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/1.214, allocations: 4.035 MB / 0.6376 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/1.217, allocations: 256.3 kB / 0.6379 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/1.217, allocations: 48.09 kB / 0.6379 GB, free: 147.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.217, allocations: 2.812 kB / 0.6379 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004537/1.222, allocations: 1.248 MB / 0.6391 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.222, allocations: 6.25 kB / 0.6391 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/1.223, allocations: 118 kB / 0.6393 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.225, allocations: 306 kB / 0.6395 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/1.23, allocations: 5.455 MB / 0.6449 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/1.233, allocations: 232.7 kB / 0.6451 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/1.233, allocations: 51.3 kB / 0.6451 GB, free: 141.4 MB / 494.1 MB 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.001346/1.234, allocations: 427.2 kB / 0.6456 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006552/1.235, allocations: 158.8 kB / 0.6457 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/1.239, allocations: 1.155 MB / 0.6468 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/1.239, allocations: 16.47 kB / 0.6468 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.239, allocations: 0 / 0.6468 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/1.239, allocations: 3.234 kB / 0.6469 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008031/1.247, allocations: 2.42 MB / 0.6492 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.247, allocations: 2.156 kB / 0.6492 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008791/1.248, allocations: 119.7 kB / 0.6493 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009258/1.258, allocations: 0.8561 MB / 0.6502 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/1.258, allocations: 24.3 kB / 0.6502 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/1.262, allocations: 4.047 MB / 0.6541 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.263, allocations: 2.156 kB / 0.6541 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/1.268, allocations: 1.428 MB / 0.6555 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.269, allocations: 289.2 kB / 0.6558 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/1.27, allocations: 14.17 kB / 0.6558 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/1.272, allocations: 122.1 kB / 0.6559 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/1.273, allocations: 63.09 kB / 0.656 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000306/1.273, allocations: 60.95 kB / 0.6561 GB, free: 134.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002918/1.276, allocations: 1.14 MB / 0.6572 GB, free: 134.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.276, allocations: 0 / 0.6572 GB, free: 134.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005194/1.281, allocations: 0.8321 MB / 0.658 GB, free: 134.3 MB / 494.1 MB 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.007309/1.288, allocations: 2.717 MB / 0.6606 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008497/1.297, allocations: 1.909 MB / 0.6625 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.578e-05/1.297, allocations: 4.656 kB / 0.6625 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/1.299, allocations: 466.8 kB / 0.663 GB, free: 131.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/1.31, allocations: 0.97 MB / 0.6639 GB, free: 131.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.321, allocations: 6.398 MB / 0.6702 GB, free: 126.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/1.323, allocations: 1.237 MB / 0.6714 GB, free: 125.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004318/1.327, allocations: 339.5 kB / 0.6717 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.329, allocations: 0.5173 MB / 0.6722 GB, free: 125.2 MB / 494.1 MB Notification: Performance of SimCode: time 2.505e-06/1.329, allocations: 0 / 0.6722 GB, free: 125.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09832/1.427, allocations: 53.96 MB / 0.7249 GB, free: 79.72 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/1.427, allocations: 211.7 kB / 0.7251 GB, free: 79.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.353/5.78, allocations: 0 / 0.7251 GB, free: 79.48 MB / 494.1 MB (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: