Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 105.5 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 223 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 230.2 MB / 256.2 MB, free: 8.625 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1951/0.1951, allocations: 46.9 MB / 359.3 MB, free: 5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 83.86 kB / 0.494 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2726, allocations: 65.99 MB / 0.5584 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4471/0.7197, allocations: 185.5 MB / 0.7396 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.7211, allocations: 0.9064 MB / 0.7405 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.7213, allocations: 11.62 kB / 0.7405 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.7218, allocations: 212.5 kB / 0.7407 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.7223, allocations: 291.6 kB / 0.741 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.7259, allocations: 1.935 MB / 0.7429 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007496/0.7266, allocations: 0.9791 MB / 0.7438 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.7269, allocations: 282.5 kB / 0.7441 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.7293, allocations: 1.587 MB / 0.7456 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.7297, allocations: 333.6 kB / 0.7459 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.7298, allocations: 47.5 kB / 0.746 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.7334, allocations: 2.867 MB / 0.7488 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.7336, allocations: 198 kB / 0.749 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.7338, allocations: 274.4 kB / 0.7492 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.7361, allocations: 2.057 MB / 0.7513 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7361, allocations: 0 / 0.7513 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7361, allocations: 2.312 kB / 0.7513 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.7361, allocations: 6.031 kB / 0.7513 GB, free: 1.516 MB / 0.5606 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.001683/0.7378, allocations: 1.082 MB / 0.7523 GB, free: 16.79 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.7378, allocations: 12.61 kB / 0.7523 GB, free: 16.79 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.281e-05/0.7379, allocations: 74.72 kB / 0.7524 GB, free: 16.75 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.7381, allocations: 55.06 kB / 0.7525 GB, free: 16.73 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.7385, allocations: 392.7 kB / 0.7528 GB, free: 16.48 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.7386, allocations: 25.72 kB / 0.7528 GB, free: 16.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.7386, allocations: 40.81 kB / 0.7529 GB, free: 16.48 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.7393, allocations: 0.5122 MB / 0.7534 GB, free: 16.39 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.7393, allocations: 1.969 kB / 0.7534 GB, free: 16.39 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.7393, allocations: 19.83 kB / 0.7534 GB, free: 16.39 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.7393, allocations: 9.688 kB / 0.7534 GB, free: 16.39 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000672/0.74, allocations: 498.9 kB / 0.7539 GB, free: 16.39 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.7422, allocations: 1.975 MB / 0.7558 GB, free: 15.21 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.7428, allocations: 436.9 kB / 0.7562 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.743, allocations: 171.1 kB / 0.7564 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007562/0.7438, allocations: 0.9459 MB / 0.7573 GB, free: 13.99 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7438, allocations: 47.14 kB / 0.7574 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=30): time 1.512e-06/0.7438, allocations: 1.062 kB / 0.7574 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of matching and sorting (n=30): time 0.0009141/0.7447, allocations: 0.5018 MB / 0.7579 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.7448, allocations: 106.4 kB / 0.758 GB, free: 13.76 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.7451, allocations: 407.8 kB / 0.7584 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.7452, allocations: 32.73 kB / 0.7584 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.7453, allocations: 221.9 kB / 0.7586 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.7453, allocations: 108.1 kB / 0.7587 GB, free: 13.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.7454, allocations: 76.48 kB / 0.7588 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7456, allocations: 352.2 kB / 0.7591 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.7458, allocations: 150.7 kB / 0.7593 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.7461, allocations: 261.8 kB / 0.7595 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.7467, allocations: 480.8 kB / 0.76 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7467, allocations: 0 / 0.76 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007982/0.7475, allocations: 0.5493 MB / 0.7605 GB, free: 12.64 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.7475, allocations: 63.69 kB / 0.7606 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7475, allocations: 3.25 kB / 0.7606 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7475, allocations: 5.531 kB / 0.7606 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.7479, allocations: 85.59 kB / 0.7606 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7479, allocations: 16.72 kB / 0.7607 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.7482, allocations: 56.53 kB / 0.7607 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.7482, allocations: 22.28 kB / 0.7607 GB, free: 12.55 MB / 0.5763 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.0001723/0.7484, allocations: 185.8 kB / 0.7609 GB, free: 12.43 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.7485, allocations: 40.92 kB / 0.761 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.7493, allocations: 497.7 kB / 0.7614 GB, free: 12.33 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7493, allocations: 9.25 kB / 0.7614 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7493, allocations: 0 / 0.7614 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.7493, allocations: 0.9688 kB / 0.7614 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.7518, allocations: 2.436 MB / 0.7638 GB, free: 10.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.7518, allocations: 3 kB / 0.7638 GB, free: 10.44 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.7521, allocations: 62.05 kB / 0.7639 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.7521, allocations: 3.469 kB / 0.7639 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.7521, allocations: 10.61 kB / 0.7639 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7521, allocations: 6.891 kB / 0.7639 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7521, allocations: 5.188 kB / 0.7639 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.7528, allocations: 0.6366 MB / 0.7645 GB, free: 10.08 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.7529, allocations: 125 kB / 0.7646 GB, free: 9.957 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.753, allocations: 16.47 kB / 0.7647 GB, free: 9.953 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.7534, allocations: 25.61 kB / 0.7647 GB, free: 9.953 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.7534, allocations: 27.69 kB / 0.7647 GB, free: 9.949 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.7535, allocations: 26.28 kB / 0.7647 GB, free: 9.949 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002943/0.7538, allocations: 358.8 kB / 0.7651 GB, free: 9.871 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.7538, allocations: 0.9375 kB / 0.7651 GB, free: 9.871 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0009058/0.7547, allocations: 357.8 kB / 0.7654 GB, free: 9.809 MB / 0.5763 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.001795/0.7565, allocations: 1.584 MB / 0.767 GB, free: 8.855 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.7571, allocations: 457.1 kB / 0.7674 GB, free: 8.727 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7571, allocations: 0.9062 kB / 0.7674 GB, free: 8.727 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.7574, allocations: 154.5 kB / 0.7676 GB, free: 8.727 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7586, allocations: 284.6 kB / 0.7678 GB, free: 8.684 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.7635, allocations: 4.602 MB / 0.7723 GB, free: 6.629 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.7639, allocations: 0.8401 MB / 0.7731 GB, free: 5.922 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0003731/0.7643, allocations: 121 kB / 0.7733 GB, free: 5.898 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.7645, allocations: 148.7 kB / 0.7734 GB, free: 5.891 MB / 0.5763 GB Notification: Performance of SimCode: time 5.21e-07/0.7645, allocations: 0.9375 kB / 0.7734 GB, free: 5.891 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.8049, allocations: 19.79 MB / 0.7927 GB, free: 132 kB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/9.057, allocations: 7.875 kB / 0.7927 GB, free: 124 kB / 0.5763 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.519573854995542]