Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.001613/0.001613, allocations: 188.5 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.187/2.187, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001189/0.001189, allocations: 106.7 kB / 270.9 MB, free: 13.37 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.3254/0.3254, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007315/0.0007317, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1509, allocations: 58.87 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5837/0.7347, allocations: 125.4 MB / 0.6013 GB, free: 12.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.7462, allocations: 4.867 MB / 0.606 GB, free: 7.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.7473, allocations: 23.81 kB / 0.606 GB, free: 7.969 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.749, allocations: 286.6 kB / 0.6063 GB, free: 7.688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.7525, allocations: 0.7049 MB / 0.607 GB, free: 6.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.7564, allocations: 0.808 MB / 0.6078 GB, free: 6.172 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002548/0.759, allocations: 1.024 MB / 0.6088 GB, free: 5.145 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009999/0.76, allocations: 383.5 kB / 0.6092 GB, free: 4.766 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.762, allocations: 0.5725 MB / 0.6097 GB, free: 4.191 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.7635, allocations: 482.4 kB / 0.6102 GB, free: 3.719 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.7637, allocations: 32 kB / 0.6102 GB, free: 3.688 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.7656, allocations: 439.4 kB / 0.6106 GB, free: 3.258 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005052/0.7661, allocations: 215.4 kB / 0.6108 GB, free: 3.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.7665, allocations: 165.3 kB / 0.611 GB, free: 2.879 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.7684, allocations: 0.7959 MB / 0.6118 GB, free: 2.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7684, allocations: 4 kB / 0.6118 GB, free: 2.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.7685, allocations: 3.938 kB / 0.6118 GB, free: 2.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.7685, allocations: 0 / 0.6118 GB, free: 2.074 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003205/0.7717, allocations: 0.9159 MB / 0.6127 GB, free: 1.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.7718, allocations: 12.02 kB / 0.6127 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003437/0.7721, allocations: 100.2 kB / 0.6128 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/0.7727, allocations: 103.1 kB / 0.6129 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.7741, allocations: 0.4927 MB / 0.6134 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.7743, allocations: 96.41 kB / 0.6135 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.7745, allocations: 51.98 kB / 0.6135 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.7768, allocations: 0.8071 MB / 0.6143 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.7768, allocations: 4 kB / 0.6143 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.777, allocations: 27.98 kB / 0.6143 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.7771, allocations: 44.91 kB / 0.6144 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.7791, allocations: 0.6401 MB / 0.615 GB, free: 14.61 MB / 426.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.008108/0.7872, allocations: 3.994 MB / 0.6189 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.7887, allocations: 432.1 kB / 0.6193 GB, free: 9.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008571/0.7896, allocations: 0.7327 MB / 0.62 GB, free: 9.008 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.7897, allocations: 38.89 kB / 0.6201 GB, free: 8.961 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.905e-06/0.7897, allocations: 0 / 0.6201 GB, free: 8.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.005811/0.7955, allocations: 1.536 MB / 0.6216 GB, free: 7.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7957, allocations: 136.5 kB / 0.6217 GB, free: 7.191 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7968, allocations: 0.5615 MB / 0.6222 GB, free: 6.621 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.797, allocations: 37.7 kB / 0.6223 GB, free: 6.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.7974, allocations: 393.4 kB / 0.6226 GB, free: 6.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.7976, allocations: 161.7 kB / 0.6228 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.7977, allocations: 16 kB / 0.6228 GB, free: 6.016 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.7979, allocations: 342.8 kB / 0.6231 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006809/0.7986, allocations: 209.9 kB / 0.6233 GB, free: 5.469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009721/0.7996, allocations: 0.5084 MB / 0.6238 GB, free: 4.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009166/0.8005, allocations: 300.6 kB / 0.6241 GB, free: 4.531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.8006, allocations: 8 kB / 0.6241 GB, free: 4.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003196/0.8038, allocations: 0.8717 MB / 0.625 GB, free: 3.641 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.8039, allocations: 11.95 kB / 0.625 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.8039, allocations: 15.98 kB / 0.625 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.8064, allocations: 285.5 kB / 0.6253 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/0.8073, allocations: 123.8 kB / 0.6254 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.8091, allocations: 0.8876 MB / 0.6263 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009681/0.8101, allocations: 44.03 kB / 0.6263 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.8103, allocations: 36 kB / 0.6263 GB, free: 2.223 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005546/0.8108, allocations: 251 kB / 0.6266 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.811, allocations: 75.09 kB / 0.6267 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.8133, allocations: 0.7691 MB / 0.6274 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.8134, allocations: 4 kB / 0.6274 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.8134, allocations: 4 kB / 0.6274 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.8134, allocations: 3.984 kB / 0.6274 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.8171, allocations: 1.418 MB / 0.6288 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.8171, allocations: 4.188 kB / 0.6288 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/0.8192, allocations: 207.7 kB / 0.629 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.8194, allocations: 24.84 kB / 0.629 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.842e-05/0.8196, allocations: 11.98 kB / 0.629 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.8226, allocations: 2.684 MB / 0.6317 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8227, allocations: 0 / 0.6317 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.8254, allocations: 1.076 MB / 0.6327 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/0.826, allocations: 212.2 kB / 0.6329 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.8262, allocations: 16 kB / 0.6329 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007969/0.827, allocations: 31.98 kB / 0.633 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.8271, allocations: 43.84 kB / 0.633 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.842e-05/0.8272, allocations: 23.97 kB / 0.633 GB, free: 10.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008353/0.8281, allocations: 403.1 kB / 0.6334 GB, free: 10.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8281, allocations: 0 / 0.6334 GB, free: 10.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001386/0.8295, allocations: 220 kB / 0.6336 GB, free: 10.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003879/0.8334, allocations: 2.192 MB / 0.6358 GB, free: 7.965 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.8356, allocations: 0.591 MB / 0.6363 GB, free: 7.379 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.8357, allocations: 4.359 kB / 0.6363 GB, free: 7.375 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.8375, allocations: 450.2 kB / 0.6368 GB, free: 6.922 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.8404, allocations: 315.5 kB / 0.6371 GB, free: 6.613 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.8554, allocations: 10.47 MB / 0.6473 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008584/0.8563, allocations: 0.954 MB / 0.6482 GB, free: 10.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000701/0.8571, allocations: 239.4 kB / 0.6485 GB, free: 10.67 MB / 458.7 MB Notification: Performance of SimCode: time 1.713e-06/0.8571, allocations: 0 / 0.6485 GB, free: 10.67 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.33/4.187, allocations: 18.21 MB / 0.6662 GB, free: 8.469 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat