Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002037/0.002037, allocations: 121 kB / 18.5 MB, free: 4.562 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.001675/0.001675, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.234/0.234, allocations: 44.9 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002246/0.002246, allocations: 63.91 kB / 0.4885 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1313, allocations: 65.42 MB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5424/0.6737, allocations: 185.3 MB / 0.7334 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.6761, allocations: 0.8931 MB / 0.7343 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.6765, allocations: 15.81 kB / 0.7343 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007949/0.6773, allocations: 210.7 kB / 0.7345 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006705/0.6779, allocations: 286.3 kB / 0.7348 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/0.6834, allocations: 1.934 MB / 0.7366 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.685, allocations: 0.9788 MB / 0.7376 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006717/0.6857, allocations: 297.5 kB / 0.7379 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.6896, allocations: 1.581 MB / 0.7394 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007498/0.6904, allocations: 346.7 kB / 0.7398 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.6905, allocations: 48 kB / 0.7398 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/0.6961, allocations: 2.855 MB / 0.7426 GB, free: 4.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.6964, allocations: 203.4 kB / 0.7428 GB, free: 4.125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.6969, allocations: 262.9 kB / 0.743 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.7015, allocations: 2.065 MB / 0.745 GB, free: 1.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7015, allocations: 0 / 0.745 GB, free: 1.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7015, allocations: 0 / 0.745 GB, free: 1.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.783e-05/0.7015, allocations: 0 / 0.745 GB, free: 1.797 MB / 0.545 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.002507/0.704, allocations: 1.08 MB / 0.7461 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.7041, allocations: 8.031 kB / 0.7461 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.339e-05/0.7041, allocations: 9 kB / 0.7461 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.7042, allocations: 82.53 kB / 0.7462 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.7045, allocations: 59.67 kB / 0.7463 GB, free: 500 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.7052, allocations: 382.1 kB / 0.7466 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.7052, allocations: 36.94 kB / 0.7467 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.7053, allocations: 39.94 kB / 0.7467 GB, free: 0 / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.7063, allocations: 0.512 MB / 0.7472 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.7063, allocations: 0 / 0.7472 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.7064, allocations: 24 kB / 0.7472 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.7064, allocations: 8 kB / 0.7472 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.7074, allocations: 495.6 kB / 0.7477 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.7106, allocations: 1.976 MB / 0.7496 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.7114, allocations: 444.7 kB / 0.75 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.7118, allocations: 178.4 kB / 0.7502 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/0.7127, allocations: 0.9455 MB / 0.7511 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.7128, allocations: 42.5 kB / 0.7512 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/0.7128, allocations: 0 / 0.7512 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001264/0.714, allocations: 0.4931 MB / 0.7517 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.7141, allocations: 106.8 kB / 0.7518 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/0.7146, allocations: 401.6 kB / 0.7521 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.7147, allocations: 33.7 kB / 0.7522 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.7149, allocations: 220.5 kB / 0.7524 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.715, allocations: 103.1 kB / 0.7525 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.7151, allocations: 82.02 kB / 0.7526 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.7153, allocations: 358.7 kB / 0.7529 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.7157, allocations: 148.6 kB / 0.7531 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.7161, allocations: 265.9 kB / 0.7533 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.717, allocations: 484.3 kB / 0.7538 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.717, allocations: 0 / 0.7538 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001127/0.7181, allocations: 0.5451 MB / 0.7543 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/0.7182, allocations: 59.78 kB / 0.7544 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.7182, allocations: 8 kB / 0.7544 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.7182, allocations: 8 kB / 0.7544 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.7186, allocations: 83.83 kB / 0.7545 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.7186, allocations: 11.98 kB / 0.7545 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.719, allocations: 47.62 kB / 0.7545 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.719, allocations: 23.98 kB / 0.7545 GB, free: 7.34 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.0002599/0.7193, allocations: 183.9 kB / 0.7547 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.7195, allocations: 47.77 kB / 0.7548 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.7206, allocations: 487.3 kB / 0.7552 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.7206, allocations: 4 kB / 0.7552 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.7206, allocations: 0.875 kB / 0.7552 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.7206, allocations: 11.94 kB / 0.7552 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.7239, allocations: 2.434 MB / 0.7576 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7239, allocations: 0 / 0.7576 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.7242, allocations: 67.84 kB / 0.7577 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.7243, allocations: 5.125 kB / 0.7577 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.7243, allocations: 11.98 kB / 0.7577 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.7243, allocations: 4 kB / 0.7577 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7243, allocations: 4 kB / 0.7577 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/0.7252, allocations: 0.6364 MB / 0.7583 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.7254, allocations: 136.6 kB / 0.7585 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.7254, allocations: 8 kB / 0.7585 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.7259, allocations: 23.97 kB / 0.7585 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.726, allocations: 19.97 kB / 0.7585 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.726, allocations: 28.05 kB / 0.7585 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004645/0.7265, allocations: 371 kB / 0.7589 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7265, allocations: 0 / 0.7589 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001224/0.7277, allocations: 358.9 kB / 0.7592 GB, free: 2.121 MB / 0.5606 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.002512/0.7302, allocations: 1.574 MB / 0.7608 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009026/0.7311, allocations: 462.3 kB / 0.7612 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.7312, allocations: 4 kB / 0.7612 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.7315, allocations: 156.7 kB / 0.7614 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.733, allocations: 285.6 kB / 0.7616 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007116/0.7401, allocations: 4.597 MB / 0.7661 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.7406, allocations: 0.839 MB / 0.7669 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004201/0.741, allocations: 114.7 kB / 0.767 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.7413, allocations: 151.3 kB / 0.7672 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/0.7413, allocations: 4 kB / 0.7672 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.7888, allocations: 19.85 MB / 0.7866 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.423/10.21, allocations: 4.062 kB / 0.7866 GB, free: 6.012 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.498923704959452] Failed to read output from testmodel.py, exit status != 0: ['time', 'traceSubstance.C', 'traceSubstance1.C'] 10.350925270002335 10.366705649 9.661993267 Calling exit ...