Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001541, allocations: 188.8 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3058/0.3058, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004934, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.58/0.7006, allocations: 125.8 MB / 0.6017 GB, free: 12.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.7041, allocations: 1.72 MB / 0.6034 GB, free: 11.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.7042, allocations: 4 kB / 0.6034 GB, free: 11.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.7045, allocations: 39.8 kB / 0.6034 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.7062, allocations: 438.7 kB / 0.6038 GB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.7066, allocations: 85.69 kB / 0.6039 GB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.707, allocations: 159.7 kB / 0.604 GB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.7071, allocations: 4 kB / 0.604 GB, free: 10.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005053/0.7076, allocations: 175.5 kB / 0.6042 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.7078, allocations: 75.8 kB / 0.6043 GB, free: 10.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.7079, allocations: 4 kB / 0.6043 GB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.7103, allocations: 0.7062 MB / 0.605 GB, free: 9.551 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.7105, allocations: 75.83 kB / 0.6051 GB, free: 9.477 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.7106, allocations: 61.64 kB / 0.6051 GB, free: 9.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.7117, allocations: 453.5 kB / 0.6055 GB, free: 8.973 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7117, allocations: 0 / 0.6055 GB, free: 8.973 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7117, allocations: 0 / 0.6055 GB, free: 8.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.7117, allocations: 0 / 0.6055 GB, free: 8.973 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008563/0.7126, allocations: 463.9 kB / 0.606 GB, free: 8.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.7127, allocations: 8.031 kB / 0.606 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.566e-05/0.7127, allocations: 58.48 kB / 0.6061 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.7157, allocations: 263.4 kB / 0.6063 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.7162, allocations: 242.8 kB / 0.6065 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.7162, allocations: 8.328 kB / 0.6065 GB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.7163, allocations: 27.89 kB / 0.6066 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.7176, allocations: 0.5005 MB / 0.6071 GB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.7176, allocations: 0 / 0.6071 GB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.821e-05/0.7177, allocations: 12 kB / 0.6071 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.7178, allocations: 8 kB / 0.6071 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.7192, allocations: 0.5894 MB / 0.6077 GB, free: 6.707 MB / 410.7 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.003567/0.7228, allocations: 0.9962 MB / 0.6086 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.7234, allocations: 237.1 kB / 0.6089 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.7246, allocations: 266.1 kB / 0.6091 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.7247, allocations: 42.84 kB / 0.6091 GB, free: 5.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.7247, allocations: 4 kB / 0.6091 GB, free: 5.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.003288/0.728, allocations: 0.5872 MB / 0.6097 GB, free: 4.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.7281, allocations: 81.11 kB / 0.6098 GB, free: 4.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.7283, allocations: 129.7 kB / 0.6099 GB, free: 4.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.507e-05/0.7284, allocations: 33.7 kB / 0.61 GB, free: 4.188 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.7285, allocations: 190.7 kB / 0.6101 GB, free: 4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.7287, allocations: 110.4 kB / 0.6102 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.7287, allocations: 12 kB / 0.6103 GB, free: 3.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7289, allocations: 318.8 kB / 0.6106 GB, free: 3.559 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006168/0.7295, allocations: 183.9 kB / 0.6107 GB, free: 3.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.7302, allocations: 288.5 kB / 0.611 GB, free: 3.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.7309, allocations: 211.9 kB / 0.6112 GB, free: 2.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.7309, allocations: 0 / 0.6112 GB, free: 2.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001645/0.7326, allocations: 0.5199 MB / 0.6117 GB, free: 2.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.7326, allocations: 11.95 kB / 0.6117 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.7327, allocations: 7.984 kB / 0.6117 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.7327, allocations: 4 kB / 0.6117 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009935/0.7337, allocations: 75.89 kB / 0.6118 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.7337, allocations: 8.406 kB / 0.6118 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.7345, allocations: 43.67 kB / 0.6119 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/0.7346, allocations: 19.98 kB / 0.6119 GB, free: 2.152 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.7348, allocations: 157.6 kB / 0.612 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.735, allocations: 15.81 kB / 0.612 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.7367, allocations: 0.4894 MB / 0.6125 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.7367, allocations: 8 kB / 0.6125 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7367, allocations: 0 / 0.6125 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.7367, allocations: 3.953 kB / 0.6125 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.738, allocations: 458 kB / 0.613 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.7381, allocations: 0 / 0.613 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/0.739, allocations: 63.89 kB / 0.613 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.739, allocations: 0 / 0.613 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.7391, allocations: 8 kB / 0.613 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.7391, allocations: 7.953 kB / 0.6131 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7391, allocations: 3.984 kB / 0.6131 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.7411, allocations: 0.6978 MB / 0.6137 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.7412, allocations: 88.95 kB / 0.6138 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.7413, allocations: 16.77 kB / 0.6138 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.7422, allocations: 27.97 kB / 0.6139 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.7423, allocations: 19.91 kB / 0.6139 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.7424, allocations: 20.14 kB / 0.6139 GB, free: 15.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.7425, allocations: 101.6 kB / 0.614 GB, free: 15.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7425, allocations: 3.938 kB / 0.614 GB, free: 15.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009383/0.7435, allocations: 151.8 kB / 0.6141 GB, free: 15.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003327/0.7468, allocations: 1.497 MB / 0.6156 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.7482, allocations: 443.6 kB / 0.616 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.7483, allocations: 4 kB / 0.616 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.7489, allocations: 215.2 kB / 0.6162 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.75, allocations: 92.09 kB / 0.6163 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.7564, allocations: 4.167 MB / 0.6204 GB, free: 9.184 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.7569, allocations: 0.7447 MB / 0.6211 GB, free: 8.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.7574, allocations: 63.41 kB / 0.6212 GB, free: 8.352 MB / 426.7 MB Notification: Performance of SimCode: time 1.153e-06/0.7574, allocations: 0 / 0.6212 GB, free: 8.352 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.78/3.538, allocations: 7.381 MB / 0.6284 GB, free: 0.9766 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat