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.001417/0.001417, allocations: 105.7 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.001582/0.001582, allocations: 215 kB / 22.92 MB, free: 5.191 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.288/1.288, allocations: 230.2 MB / 256.2 MB, free: 8.621 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.1961/0.1961, allocations: 46.89 MB / 359.3 MB, free: 4.992 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.002094/0.002094, allocations: 83.86 kB / 0.494 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2645, allocations: 65.99 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4359/0.7003, allocations: 185.5 MB / 0.7396 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.7018, allocations: 0.9014 MB / 0.7405 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.7019, allocations: 11.38 kB / 0.7405 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.7025, allocations: 211.5 kB / 0.7407 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.7029, allocations: 293 kB / 0.741 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.7063, allocations: 1.923 MB / 0.7428 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006881/0.707, allocations: 0.9859 MB / 0.7438 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.7073, allocations: 277 kB / 0.7441 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.7096, allocations: 1.584 MB / 0.7456 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.7099, allocations: 339.1 kB / 0.7459 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/0.71, allocations: 46.88 kB / 0.746 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.7133, allocations: 2.865 MB / 0.7488 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.7135, allocations: 200.1 kB / 0.749 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.7137, allocations: 271.4 kB / 0.7492 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.7158, allocations: 2.06 MB / 0.7512 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7158, allocations: 0 / 0.7512 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7158, allocations: 0.9375 kB / 0.7512 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.7158, allocations: 6.281 kB / 0.7513 GB, free: 1.551 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.001556/0.7173, allocations: 1.081 MB / 0.7523 GB, free: 16.82 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.7174, allocations: 9.406 kB / 0.7523 GB, free: 16.82 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.157e-05/0.7175, allocations: 82.03 kB / 0.7524 GB, free: 16.79 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.7177, allocations: 54.38 kB / 0.7524 GB, free: 16.76 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.7181, allocations: 388.2 kB / 0.7528 GB, free: 16.52 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.7181, allocations: 27.91 kB / 0.7528 GB, free: 16.52 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.7182, allocations: 35.66 kB / 0.7529 GB, free: 16.52 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.7189, allocations: 0.5207 MB / 0.7534 GB, free: 16.43 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.7189, allocations: 4.219 kB / 0.7534 GB, free: 16.43 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.7189, allocations: 15.34 kB / 0.7534 GB, free: 16.43 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.7189, allocations: 9.516 kB / 0.7534 GB, free: 16.43 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.7196, allocations: 499.7 kB / 0.7539 GB, free: 16.43 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.7218, allocations: 1.975 MB / 0.7558 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.7224, allocations: 443.2 kB / 0.7562 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.7226, allocations: 169.1 kB / 0.7564 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.7234, allocations: 0.951 MB / 0.7573 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.7234, allocations: 37 kB / 0.7574 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.7234, allocations: 1.062 kB / 0.7574 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of matching and sorting (n=30): time 0.000929/0.7244, allocations: 0.4998 MB / 0.7579 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.7244, allocations: 108.8 kB / 0.758 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.7248, allocations: 408.6 kB / 0.7584 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.7248, allocations: 33.23 kB / 0.7584 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.7249, allocations: 215.8 kB / 0.7586 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.725, allocations: 111.8 kB / 0.7587 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.7251, allocations: 76.08 kB / 0.7588 GB, free: 13.42 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7252, allocations: 351 kB / 0.7591 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.7255, allocations: 156.4 kB / 0.7593 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.7258, allocations: 255.5 kB / 0.7595 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.7264, allocations: 483.8 kB / 0.76 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7264, allocations: 0 / 0.76 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008205/0.7272, allocations: 0.5512 MB / 0.7605 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.7272, allocations: 62.59 kB / 0.7606 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7272, allocations: 4.375 kB / 0.7606 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.7272, allocations: 9.828 kB / 0.7606 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.7276, allocations: 79.34 kB / 0.7606 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7276, allocations: 16.14 kB / 0.7607 GB, free: 12.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.7279, allocations: 61.94 kB / 0.7607 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.7279, allocations: 21.33 kB / 0.7607 GB, free: 12.58 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.0001797/0.7281, allocations: 183.9 kB / 0.7609 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.7282, allocations: 43.98 kB / 0.761 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/0.729, allocations: 0.4928 MB / 0.7614 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.729, allocations: 6.719 kB / 0.7614 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7291, allocations: 0 / 0.7614 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.7291, allocations: 5.484 kB / 0.7614 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.7316, allocations: 2.432 MB / 0.7638 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7316, allocations: 0 / 0.7638 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.7319, allocations: 63.27 kB / 0.7639 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7319, allocations: 3.688 kB / 0.7639 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.7319, allocations: 15.53 kB / 0.7639 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.7319, allocations: 2.75 kB / 0.7639 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7319, allocations: 3.25 kB / 0.7639 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.7326, allocations: 0.6376 MB / 0.7645 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.7327, allocations: 127.7 kB / 0.7647 GB, free: 9.988 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/0.7328, allocations: 13.66 kB / 0.7647 GB, free: 9.984 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.7332, allocations: 20.28 kB / 0.7647 GB, free: 9.984 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.7332, allocations: 35.5 kB / 0.7647 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.7333, allocations: 17.66 kB / 0.7647 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0003067/0.7336, allocations: 364.7 kB / 0.7651 GB, free: 9.902 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.7336, allocations: 3.406 kB / 0.7651 GB, free: 9.902 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0008967/0.7345, allocations: 351.4 kB / 0.7654 GB, free: 9.84 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.00188/0.7364, allocations: 1.584 MB / 0.767 GB, free: 8.883 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0006641/0.737, allocations: 458.3 kB / 0.7674 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.737, allocations: 0 / 0.7674 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.7373, allocations: 153.6 kB / 0.7676 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.7386, allocations: 281.8 kB / 0.7678 GB, free: 8.719 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.7436, allocations: 4.605 MB / 0.7723 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.744, allocations: 0.8407 MB / 0.7731 GB, free: 5.953 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0003667/0.7443, allocations: 118.9 kB / 0.7733 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.7445, allocations: 148.7 kB / 0.7734 GB, free: 5.918 MB / 0.5763 GB Notification: Performance of SimCode: time 5.11e-07/0.7445, allocations: 0 / 0.7734 GB, free: 5.918 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/0.7864, allocations: 19.8 MB / 0.7927 GB, free: 144 kB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/9.203, allocations: 0 / 0.7927 GB, free: 144 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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.728010919992812]