Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.001297/0.001297, allocations: 96.75 kB / 15.68 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.001241/0.001241, allocations: 168.6 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.492/1.492, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4002/0.4002, allocations: 43.55 MB / 314.5 MB, free: 8.699 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.0008897/0.0008897, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1612, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4755/0.6368, allocations: 147 MB / 0.5761 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.6478, allocations: 6.747 MB / 0.5826 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.6486, allocations: 19.81 kB / 0.5827 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.6496, allocations: 266.6 kB / 0.5829 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.6542, allocations: 1.269 MB / 0.5842 GB, free: 284 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.6562, allocations: 0.6075 MB / 0.5847 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.658, allocations: 0.9183 MB / 0.5856 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.6586, allocations: 356.6 kB / 0.586 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.6596, allocations: 0.4946 MB / 0.5865 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004242/0.66, allocations: 330.8 kB / 0.5868 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.885e-05/0.6601, allocations: 28 kB / 0.5868 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.6631, allocations: 1.178 MB / 0.588 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.6633, allocations: 127.5 kB / 0.5881 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.6635, allocations: 149.4 kB / 0.5882 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.6652, allocations: 1.076 MB / 0.5893 GB, free: 11.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6652, allocations: 0 / 0.5893 GB, free: 11.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6652, allocations: 0 / 0.5893 GB, free: 11.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.6652, allocations: 0 / 0.5893 GB, free: 11.04 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001931/0.6672, allocations: 0.9483 MB / 0.5902 GB, free: 10.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6672, allocations: 16.02 kB / 0.5902 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.6674, allocations: 82.53 kB / 0.5903 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.6684, allocations: 139.2 kB / 0.5904 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.6691, allocations: 456.8 kB / 0.5909 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.6692, allocations: 37 kB / 0.5909 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.6692, allocations: 40 kB / 0.5909 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.6703, allocations: 0.5867 MB / 0.5915 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.6703, allocations: 7.891 kB / 0.5915 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.6704, allocations: 20 kB / 0.5915 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6704, allocations: 12 kB / 0.5915 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.6713, allocations: 487.6 kB / 0.592 GB, free: 8.098 MB / 462.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.00335/0.6747, allocations: 2.69 MB / 0.5946 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.6755, allocations: 351.4 kB / 0.595 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005094/0.676, allocations: 324 kB / 0.5953 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.6761, allocations: 42.78 kB / 0.5953 GB, free: 4.414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/0.6761, allocations: 0 / 0.5953 GB, free: 4.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001806/0.6779, allocations: 0.7387 MB / 0.596 GB, free: 3.648 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.678, allocations: 136.5 kB / 0.5962 GB, free: 3.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.6786, allocations: 490.1 kB / 0.5966 GB, free: 2.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.6787, allocations: 33.7 kB / 0.5967 GB, free: 2.957 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.679, allocations: 291.8 kB / 0.597 GB, free: 2.668 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.6791, allocations: 110.4 kB / 0.5971 GB, free: 2.559 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.6791, allocations: 8 kB / 0.5971 GB, free: 2.551 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.6793, allocations: 362.7 kB / 0.5974 GB, free: 2.188 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.6796, allocations: 152.8 kB / 0.5976 GB, free: 2.039 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.6801, allocations: 283.7 kB / 0.5978 GB, free: 1.711 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.6805, allocations: 193.1 kB / 0.598 GB, free: 1.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6805, allocations: 0 / 0.598 GB, free: 1.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000991/0.6815, allocations: 0.548 MB / 0.5985 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6815, allocations: 8 kB / 0.5986 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6815, allocations: 4.75 kB / 0.5986 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.6831, allocations: 293 kB / 0.5988 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.6834, allocations: 103.9 kB / 0.5989 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007626/0.6842, allocations: 0.603 MB / 0.5995 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.6847, allocations: 59.5 kB / 0.5996 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.6848, allocations: 48.48 kB / 0.5996 GB, free: 15.83 MB / 478.1 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 (44): * Single equations (assignments): 43 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.6851, allocations: 185.8 kB / 0.5998 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.6852, allocations: 55.34 kB / 0.5999 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.6869, allocations: 0.7371 MB / 0.6006 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.687, allocations: 7.953 kB / 0.6006 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.687, allocations: 0 / 0.6006 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.687, allocations: 11.97 kB / 0.6006 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.6887, allocations: 1.018 MB / 0.6016 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.6887, allocations: 0 / 0.6016 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.6889, allocations: 55.84 kB / 0.6016 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003372/0.6923, allocations: 0.5355 MB / 0.6022 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.6923, allocations: 15.98 kB / 0.6022 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005847/0.6929, allocations: 0.6108 MB / 0.6028 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.693, allocations: 4.031 kB / 0.6028 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.6939, allocations: 0.5785 MB / 0.6034 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.6942, allocations: 156.3 kB / 0.6035 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.6943, allocations: 8 kB / 0.6035 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.6947, allocations: 35.97 kB / 0.6035 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.6947, allocations: 23.97 kB / 0.6036 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.6948, allocations: 17.05 kB / 0.6036 GB, free: 11.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005646/0.6954, allocations: 390.8 kB / 0.604 GB, free: 11.19 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6954, allocations: 0 / 0.604 GB, free: 11.19 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001145/0.6965, allocations: 327.5 kB / 0.6043 GB, free: 10.87 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002451/0.699, allocations: 1.804 MB / 0.606 GB, free: 9.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009386/0.6999, allocations: 380.4 kB / 0.6064 GB, free: 8.641 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.7, allocations: 4 kB / 0.6064 GB, free: 8.637 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.7003, allocations: 175 kB / 0.6066 GB, free: 8.469 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7018, allocations: 291.6 kB / 0.6068 GB, free: 8.184 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.708, allocations: 5.224 MB / 0.6119 GB, free: 2.844 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.7086, allocations: 0.871 MB / 0.6128 GB, free: 1.945 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009484/0.7096, allocations: 188.7 kB / 0.613 GB, free: 1.762 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.71, allocations: 219.3 kB / 0.6132 GB, free: 1.547 MB / 478.1 MB Notification: Performance of SimCode: time 1.362e-06/0.71, allocations: 0 / 0.6132 GB, free: 1.547 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2726/0.9826, allocations: 20.07 MB / 0.6328 GB, free: 152.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.9829, allocations: 279.5 kB / 0.6331 GB, free: 152.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.441, allocations: 0 / 0.6331 GB, free: 152.3 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat