Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001795/0.001795, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.002228/0.002228, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.421/1.421, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.92 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 87.86 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1244, allocations: 66.05 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4495/0.5739, allocations: 185.3 MB / 0.7371 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.5759, allocations: 0.8892 MB / 0.738 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.5761, allocations: 15.81 kB / 0.738 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006757/0.5768, allocations: 214.7 kB / 0.7382 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005715/0.5773, allocations: 286.3 kB / 0.7385 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004886/0.5822, allocations: 1.93 MB / 0.7403 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.5835, allocations: 0.9749 MB / 0.7413 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.584, allocations: 298.9 kB / 0.7416 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.5872, allocations: 1.581 MB / 0.7431 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.5877, allocations: 338.7 kB / 0.7435 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.381e-05/0.5877, allocations: 52 kB / 0.7435 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.5926, allocations: 2.862 MB / 0.7463 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.5928, allocations: 203.4 kB / 0.7465 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.5932, allocations: 266.9 kB / 0.7467 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.5967, allocations: 2.061 MB / 0.7488 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5967, allocations: 0 / 0.7488 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5967, allocations: 0 / 0.7488 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5967, allocations: 0 / 0.7488 GB, free: 11.76 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.002025/0.5988, allocations: 1.08 MB / 0.7498 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5988, allocations: 8.031 kB / 0.7498 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.055e-05/0.5988, allocations: 9 kB / 0.7498 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.444e-05/0.5989, allocations: 78.53 kB / 0.7499 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.5992, allocations: 67.66 kB / 0.75 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.5997, allocations: 386.1 kB / 0.7503 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.5998, allocations: 29 kB / 0.7504 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.5998, allocations: 43.94 kB / 0.7504 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009582/0.6008, allocations: 0.5119 MB / 0.7509 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6008, allocations: 0 / 0.7509 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.6009, allocations: 20 kB / 0.7509 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6009, allocations: 8 kB / 0.7509 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.6018, allocations: 499.6 kB / 0.7514 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.6046, allocations: 1.982 MB / 0.7533 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.6054, allocations: 440.7 kB / 0.7538 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.6057, allocations: 170.5 kB / 0.7539 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009314/0.6067, allocations: 0.9455 MB / 0.7548 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.6067, allocations: 46.44 kB / 0.7549 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.6067, allocations: 0 / 0.7549 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001185/0.6079, allocations: 0.4979 MB / 0.7554 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.608, allocations: 106.8 kB / 0.7555 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.6084, allocations: 397.6 kB / 0.7559 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.6085, allocations: 33.7 kB / 0.7559 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.6086, allocations: 220.5 kB / 0.7561 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.251e-05/0.6087, allocations: 103.1 kB / 0.7562 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.6089, allocations: 82.02 kB / 0.7563 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6091, allocations: 350.8 kB / 0.7566 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.6094, allocations: 152.6 kB / 0.7568 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.6098, allocations: 266.6 kB / 0.757 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.6106, allocations: 480 kB / 0.7575 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6106, allocations: 7.938 kB / 0.7575 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00103/0.6116, allocations: 0.5414 MB / 0.758 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.6117, allocations: 67.41 kB / 0.7581 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.6117, allocations: 384 / 0.7581 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.6117, allocations: 12.19 kB / 0.7581 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.6121, allocations: 83.81 kB / 0.7582 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.6121, allocations: 8 kB / 0.7582 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.6124, allocations: 55.61 kB / 0.7582 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.6125, allocations: 20 kB / 0.7582 GB, free: 1.309 MB / 0.5606 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.0002334/0.6127, allocations: 185.7 kB / 0.7584 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6128, allocations: 39.77 kB / 0.7585 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.6139, allocations: 489.3 kB / 0.7589 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6139, allocations: 4 kB / 0.7589 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.6139, allocations: 4.562 kB / 0.7589 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6139, allocations: 3.984 kB / 0.7589 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.6171, allocations: 2.437 MB / 0.7613 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.6171, allocations: 9.125 kB / 0.7613 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.6174, allocations: 63.89 kB / 0.7614 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.6174, allocations: 4 kB / 0.7614 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.6174, allocations: 11.94 kB / 0.7614 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.6174, allocations: 4 kB / 0.7614 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6174, allocations: 4.094 kB / 0.7614 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.6183, allocations: 0.6402 MB / 0.762 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.6185, allocations: 132.7 kB / 0.7622 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.6185, allocations: 16.8 kB / 0.7622 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.6191, allocations: 19.98 kB / 0.7622 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.6192, allocations: 23.97 kB / 0.7622 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.6192, allocations: 19.98 kB / 0.7622 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000438/0.6197, allocations: 367 kB / 0.7626 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6197, allocations: 4 kB / 0.7626 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00116/0.6208, allocations: 355 kB / 0.7629 GB, free: 12.09 MB / 0.5762 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.002324/0.6232, allocations: 1.574 MB / 0.7645 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008725/0.624, allocations: 458.8 kB / 0.7649 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.624, allocations: 4 kB / 0.7649 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.6244, allocations: 160.8 kB / 0.7651 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.6258, allocations: 282.6 kB / 0.7653 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.6321, allocations: 4.6 MB / 0.7698 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.6326, allocations: 0.8429 MB / 0.7706 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004036/0.6331, allocations: 115.3 kB / 0.7708 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.6333, allocations: 147.4 kB / 0.7709 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.6333, allocations: 0 / 0.7709 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04158/0.6749, allocations: 19.84 MB / 0.7903 GB, free: 8 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.28/9.955, allocations: 7.859 kB / 0.7903 GB, free: 4 kB / 0.5919 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.87919977097772] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 10.089588888047729 10.104805296 9.505066523 Calling exit ...