Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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/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 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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",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.001057/0.001057, allocations: 97.45 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 177 kB / 16.56 MB, free: 6.379 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.758/1.758, allocations: 205.4 MB / 222.7 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4609/0.4609, allocations: 43.54 MB / 314.5 MB, free: 9.043 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.0004974/0.0004974, allocations: 12 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1372, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.292/0.4292, allocations: 25.39 MB / 468.2 MB, free: 35.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.4443, allocations: 13.18 MB / 481.4 MB, free: 27.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005311/0.4449, allocations: 17.94 kB / 481.4 MB, free: 27.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.4457, allocations: 182.6 kB / 481.6 MB, free: 27.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.4463, allocations: 214 kB / 481.8 MB, free: 27.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01456/0.4609, allocations: 4.367 MB / 486.2 MB, free: 25.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.462, allocations: 479.9 kB / 486.7 MB, free: 25.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.4624, allocations: 187.2 kB / 486.8 MB, free: 25.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01492/0.4773, allocations: 8.844 MB / 495.7 MB, free: 24.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.4779, allocations: 158.2 kB / 495.8 MB, free: 24.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.4779, allocations: 12.62 kB / 495.9 MB, free: 24.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/0.4925, allocations: 5.918 MB / 0.49 GB, free: 22.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.4927, allocations: 71.55 kB / 0.4901 GB, free: 22.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.4929, allocations: 96.44 kB / 0.4902 GB, free: 22.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008266/0.5012, allocations: 2.448 MB / 0.4926 GB, free: 22.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5013, allocations: 0 / 0.4926 GB, free: 22.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5013, allocations: 1.25 kB / 0.4926 GB, free: 22.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.026e-06/0.5013, allocations: 0 / 0.4926 GB, free: 22.22 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004985/0.5063, allocations: 0.9414 MB / 0.4935 GB, free: 21.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5063, allocations: 9.594 kB / 0.4935 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.159e-05/0.5064, allocations: 61.88 kB / 0.4936 GB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009964/0.5074, allocations: 114.7 kB / 0.4937 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.5079, allocations: 319.8 kB / 0.494 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.508, allocations: 25.03 kB / 0.494 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.508, allocations: 23.7 kB / 0.494 GB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.5092, allocations: 465.2 kB / 0.4945 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.5093, allocations: 1.188 kB / 0.4945 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.5093, allocations: 16.34 kB / 0.4945 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.5093, allocations: 6.344 kB / 0.4945 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.5106, allocations: 401.6 kB / 0.4949 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.5137, allocations: 2.394 MB / 0.4972 GB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.5148, allocations: 305.6 kB / 0.4975 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/0.5153, allocations: 488.6 kB / 0.498 GB, free: 18.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5153, allocations: 37 kB / 0.498 GB, free: 18.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.913e-06/0.5153, allocations: 0 / 0.498 GB, free: 18.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001835/0.5172, allocations: 0.4888 MB / 0.4985 GB, free: 18.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.5172, allocations: 104.3 kB / 0.4986 GB, free: 17.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.5176, allocations: 319 kB / 0.4989 GB, free: 17.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.5176, allocations: 30.92 kB / 0.4989 GB, free: 17.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.5177, allocations: 208.3 kB / 0.4991 GB, free: 17.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.5178, allocations: 40.47 kB / 0.4991 GB, free: 17.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.5178, allocations: 8.938 kB / 0.4992 GB, free: 17.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5179, allocations: 339.5 kB / 0.4995 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.5182, allocations: 99.41 kB / 0.4996 GB, free: 17.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.5186, allocations: 206.4 kB / 0.4998 GB, free: 17.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.5189, allocations: 115.5 kB / 0.4999 GB, free: 16.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5189, allocations: 5.188 kB / 0.4999 GB, free: 16.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008327/0.5197, allocations: 339 kB / 0.5002 GB, free: 16.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.5198, allocations: 6.344 kB / 0.5002 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5198, allocations: 4.062 kB / 0.5002 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.5198, allocations: 10.12 kB / 0.5002 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.5201, allocations: 77.78 kB / 0.5003 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.5202, allocations: 11.97 kB / 0.5003 GB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.5205, allocations: 44.89 kB / 0.5004 GB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.5205, allocations: 14.12 kB / 0.5004 GB, free: 16.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.000184/0.5207, allocations: 156 kB / 0.5005 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.5208, allocations: 34.75 kB / 0.5005 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.5222, allocations: 0.7854 MB / 0.5013 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.5222, allocations: 4.969 kB / 0.5013 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5222, allocations: 3.953 kB / 0.5013 GB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5222, allocations: 4.328 kB / 0.5013 GB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.5229, allocations: 0.5313 MB / 0.5018 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5229, allocations: 0 / 0.5018 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.5231, allocations: 50.86 kB / 0.5019 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5232, allocations: 1.5 kB / 0.5019 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.5232, allocations: 4 kB / 0.5019 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5232, allocations: 1.25 kB / 0.5019 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5232, allocations: 0 / 0.5019 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.5239, allocations: 483.2 kB / 0.5024 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.524, allocations: 188.8 kB / 0.5025 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.5241, allocations: 9.375 kB / 0.5026 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.5243, allocations: 25.19 kB / 0.5026 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.5244, allocations: 29.34 kB / 0.5026 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.5245, allocations: 6.688 kB / 0.5026 GB, free: 15.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000357/0.5248, allocations: 337 kB / 0.5029 GB, free: 15.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5248, allocations: 4 kB / 0.5029 GB, free: 15.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005922/0.5308, allocations: 0.8409 MB / 0.5038 GB, free: 15.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.009683/0.5405, allocations: 1.899 MB / 0.5056 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009195/0.5414, allocations: 289.5 kB / 0.5059 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.5414, allocations: 2.625 kB / 0.5059 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.5418, allocations: 178.3 kB / 0.5061 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5429, allocations: 162.1 kB / 0.5062 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00831/0.5512, allocations: 4.811 MB / 0.5109 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.5516, allocations: 0.8612 MB / 0.5118 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004151/0.552, allocations: 139.7 kB / 0.5119 GB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.5522, allocations: 155.4 kB / 0.512 GB, free: 8.648 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5522, allocations: 0 / 0.512 GB, free: 8.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07752/0.6298, allocations: 38.82 MB / 0.5499 GB, free: 1.832 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.6301, allocations: 235.8 kB / 0.5502 GB, free: 1.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.799/4.43, allocations: 4.062 kB / 0.5502 GB, free: 1.59 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat