Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 213.2 kB / 23.77 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2378/0.2378, allocations: 44.26 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 82.97 kB / 468.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1274, allocations: 61.04 MB / 0.5169 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4224/0.5498, allocations: 161.3 MB / 0.6745 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.5518, allocations: 0.8852 MB / 0.6753 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.552, allocations: 15.88 kB / 0.6754 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008168/0.5528, allocations: 202.7 kB / 0.6756 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006647/0.5535, allocations: 286.3 kB / 0.6758 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006057/0.5595, allocations: 2.194 MB / 0.678 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.561, allocations: 0.9944 MB / 0.6789 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.5614, allocations: 273.3 kB / 0.6792 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.5654, allocations: 1.725 MB / 0.6809 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006163/0.566, allocations: 338.8 kB / 0.6812 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-05/0.5661, allocations: 51.94 kB / 0.6813 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005662/0.5718, allocations: 2.527 MB / 0.6837 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.572, allocations: 199.5 kB / 0.6839 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.5724, allocations: 231.1 kB / 0.6841 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003991/0.5763, allocations: 2.041 MB / 0.6861 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5764, allocations: 4 kB / 0.6861 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5764, allocations: 0 / 0.6861 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.5764, allocations: 0 / 0.6861 GB, free: 5.078 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001999/0.5784, allocations: 1.017 MB / 0.6871 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5784, allocations: 12.03 kB / 0.6871 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.149e-05/0.5784, allocations: 9 kB / 0.6871 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.5785, allocations: 79.08 kB / 0.6872 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.5788, allocations: 55.72 kB / 0.6873 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.5794, allocations: 319.9 kB / 0.6876 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.5794, allocations: 32.94 kB / 0.6876 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/0.5795, allocations: 39.94 kB / 0.6876 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5806, allocations: 0.7667 MB / 0.6884 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5806, allocations: 4.625 kB / 0.6884 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.5807, allocations: 16 kB / 0.6884 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.5807, allocations: 16 kB / 0.6884 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.5816, allocations: 495.6 kB / 0.6889 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.5843, allocations: 1.566 MB / 0.6904 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.5851, allocations: 364.2 kB / 0.6908 GB, free: 56 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.5854, allocations: 166.7 kB / 0.6909 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/0.5859, allocations: 131.9 kB / 0.6911 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.586, allocations: 42.55 kB / 0.6911 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.564e-06/0.586, allocations: 4 kB / 0.6911 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001229/0.5872, allocations: 0.4939 MB / 0.6916 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.5873, allocations: 106.8 kB / 0.6917 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.5878, allocations: 401.5 kB / 0.6921 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.5878, allocations: 33.7 kB / 0.6921 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.588, allocations: 216.5 kB / 0.6923 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5881, allocations: 107 kB / 0.6924 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.5883, allocations: 82.02 kB / 0.6925 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5884, allocations: 354.8 kB / 0.6928 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.5888, allocations: 208 kB / 0.693 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.5892, allocations: 309.4 kB / 0.6933 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007895/0.59, allocations: 496.1 kB / 0.6938 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.59, allocations: 0 / 0.6938 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001107/0.5911, allocations: 0.6039 MB / 0.6944 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.22e-05/0.5912, allocations: 59.41 kB / 0.6944 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5912, allocations: 4 kB / 0.6945 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.5912, allocations: 4 kB / 0.6945 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.5917, allocations: 87.88 kB / 0.6945 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.5917, allocations: 7.938 kB / 0.6945 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.592, allocations: 59.98 kB / 0.6946 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.5921, allocations: 18.27 kB / 0.6946 GB, free: 11.87 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.5924, allocations: 189.6 kB / 0.6948 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.5925, allocations: 47.72 kB / 0.6948 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.5936, allocations: 491.2 kB / 0.6953 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.5936, allocations: 4 kB / 0.6953 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5936, allocations: 0 / 0.6953 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5936, allocations: 4 kB / 0.6953 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.5962, allocations: 1.246 MB / 0.6965 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.5962, allocations: 4.688 kB / 0.6965 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.5965, allocations: 55.91 kB / 0.6966 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.5965, allocations: 7.938 kB / 0.6966 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.5965, allocations: 11.94 kB / 0.6966 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.5965, allocations: 8.812 kB / 0.6966 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5965, allocations: 4 kB / 0.6966 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008697/0.5974, allocations: 0.6435 MB / 0.6973 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/0.5975, allocations: 55.69 kB / 0.6973 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.5976, allocations: 15.89 kB / 0.6973 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.598, allocations: 19.98 kB / 0.6973 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.5981, allocations: 27.95 kB / 0.6974 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.5981, allocations: 21.27 kB / 0.6974 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004377/0.5986, allocations: 363.1 kB / 0.6977 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5986, allocations: 0 / 0.6977 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001144/0.5997, allocations: 382.9 kB / 0.6981 GB, free: 8.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002554/0.6023, allocations: 1.679 MB / 0.6997 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009198/0.6032, allocations: 0.5016 MB / 0.7002 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6032, allocations: 4.75 kB / 0.7002 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.6035, allocations: 159.9 kB / 0.7004 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.605, allocations: 275.4 kB / 0.7007 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/0.6124, allocations: 4.82 MB / 0.7054 GB, free: 420 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.6127, allocations: 228.1 kB / 0.7056 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005428/0.6133, allocations: 120.3 kB / 0.7057 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.6136, allocations: 147.5 kB / 0.7058 GB, free: 15.89 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.6136, allocations: 0 / 0.7058 GB, free: 15.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05002/0.6636, allocations: 22.23 MB / 0.7275 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.26, allocations: 7.922 kB / 0.7275 GB, free: 9.629 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.34160762198735] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 13.431651755003259 13.455763377 12.874523591 Calling exit ...