Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.002163/0.002163, allocations: 180.9 kB / 13.66 MB, free: 1.664 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.261/2.261, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001102/0.001102, allocations: 74.78 kB / 267.5 MB, free: 14.05 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.287/0.287, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.978e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 58.85 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.6066, allocations: 90.02 MB / 0.5608 GB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/0.6071, allocations: 96.52 kB / 0.5609 GB, free: 13.43 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01722/0.6243, allocations: 3.512 MB / 0.5643 GB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6244, allocations: 0 / 0.5643 GB, free: 10.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.6244, allocations: 0 / 0.5643 GB, free: 10.4 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007156/0.6251, allocations: 396.1 kB / 0.5647 GB, free: 9.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.6252, allocations: 12.03 kB / 0.5647 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.6253, allocations: 46.36 kB / 0.5648 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.6257, allocations: 39.73 kB / 0.5648 GB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.626, allocations: 186.9 kB / 0.565 GB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.626, allocations: 11.94 kB / 0.565 GB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.6261, allocations: 4 kB / 0.565 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.6265, allocations: 172 kB / 0.5652 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.6266, allocations: 0 / 0.5652 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.6266, allocations: 7.875 kB / 0.5652 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.6267, allocations: 7.984 kB / 0.5652 GB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.627, allocations: 112.8 kB / 0.5653 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.6283, allocations: 0.6547 MB / 0.5659 GB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.6287, allocations: 103 kB / 0.566 GB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.6288, allocations: 24.78 kB / 0.5661 GB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.6289, allocations: 4 kB / 0.5661 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.6289, allocations: 34.5 kB / 0.5661 GB, free: 8.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.916e-06/0.6289, allocations: 0 / 0.5661 GB, free: 8.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002953/0.6292, allocations: 85.97 kB / 0.5662 GB, free: 8.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.6293, allocations: 51.41 kB / 0.5662 GB, free: 8.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.6294, allocations: 118.5 kB / 0.5663 GB, free: 8.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.6295, allocations: 25.7 kB / 0.5664 GB, free: 8.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.6296, allocations: 194.1 kB / 0.5665 GB, free: 8.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.6296, allocations: 27.67 kB / 0.5666 GB, free: 8.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.6297, allocations: 3.688 kB / 0.5666 GB, free: 8.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6298, allocations: 318.7 kB / 0.5669 GB, free: 7.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.6299, allocations: 27.67 kB / 0.5669 GB, free: 7.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.6301, allocations: 83.02 kB / 0.567 GB, free: 7.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.6302, allocations: 39.75 kB / 0.567 GB, free: 7.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6302, allocations: 0 / 0.567 GB, free: 7.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003369/0.6306, allocations: 137.1 kB / 0.5672 GB, free: 7.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.6306, allocations: 4.25 kB / 0.5672 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6306, allocations: 8 kB / 0.5672 GB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.6307, allocations: 4 kB / 0.5672 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.631, allocations: 43.91 kB / 0.5672 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6311, allocations: 0 / 0.5672 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.6312, allocations: 19.75 kB / 0.5672 GB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.6313, allocations: 4 kB / 0.5672 GB, free: 7.375 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001069/0.6314, allocations: 124.5 kB / 0.5674 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.6314, allocations: 7.906 kB / 0.5674 GB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.6318, allocations: 93.28 kB / 0.5675 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6318, allocations: 4 kB / 0.5675 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6318, allocations: 0 / 0.5675 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6318, allocations: 0 / 0.5675 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.6321, allocations: 208.6 kB / 0.5677 GB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.6321, allocations: 0 / 0.5677 GB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.6324, allocations: 39.86 kB / 0.5677 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6324, allocations: 0 / 0.5677 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.6325, allocations: 3.938 kB / 0.5677 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6325, allocations: 0 / 0.5677 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6325, allocations: 0 / 0.5677 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.6328, allocations: 186.6 kB / 0.5679 GB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.6329, allocations: 89 kB / 0.568 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.6329, allocations: 4 kB / 0.568 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.6331, allocations: 11.98 kB / 0.568 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.6332, allocations: 4 kB / 0.568 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.6332, allocations: 3.75 kB / 0.568 GB, free: 6.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.822e-05/0.6333, allocations: 99.64 kB / 0.5681 GB, free: 6.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6333, allocations: 3.938 kB / 0.5681 GB, free: 6.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.6337, allocations: 26.09 kB / 0.5681 GB, free: 6.449 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000729/0.6344, allocations: 0.7489 MB / 0.5688 GB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.6347, allocations: 66.42 kB / 0.5689 GB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6347, allocations: 0.5 kB / 0.5689 GB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.6348, allocations: 40.28 kB / 0.5689 GB, free: 5.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.635, allocations: 6.75 kB / 0.5689 GB, free: 5.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.6358, allocations: 217.6 kB / 0.5692 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.6361, allocations: 0.7082 MB / 0.5698 GB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.6363, allocations: 29.17 kB / 0.5699 GB, free: 4.609 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6363, allocations: 0 / 0.5699 GB, free: 4.609 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.572/3.208, allocations: 1.934 MB / 0.5718 GB, free: 2.684 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat