Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.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.0008632/0.0008632, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001267/0.001267, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8852/0.8852, allocations: 158.6 MB / 185 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.1388/0.1388, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.263e-05, allocations: 2.281 kB / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001252/0.001275, allocations: 0.4906 MB / 407.3 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.003143, allocations: 1.263 MB / 408.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.00316, allocations: 0 / 408.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.003178, allocations: 0 / 408.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.003185, allocations: 0 / 408.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.004452, allocations: 0.5801 MB / 409.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.912e-05/0.004511, allocations: 4 kB / 409.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.004549, allocations: 3.984 kB / 409.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.00458, allocations: 0 / 409.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.69e-05/0.004606, allocations: 3.984 kB / 409.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.004614, allocations: 0 / 409.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006465/0.01108, allocations: 2.539 MB / 411.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.01109, allocations: 7.938 kB / 411.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.01112, allocations: 0 / 411.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.01144, allocations: 199.6 kB / 411.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01144, allocations: 0 / 411.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01145, allocations: 3.938 kB / 411.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.01145, allocations: 4 kB / 411.9 MB, free: 13.19 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003251/0.01178, allocations: 303.8 kB / 412.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.01182, allocations: 8.031 kB / 412.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.01185, allocations: 34.75 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.01188, allocations: 0.9375 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.345e-05/0.01194, allocations: 105.8 kB / 412.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.01195, allocations: 4.375 kB / 412.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.01196, allocations: 4.375 kB / 412.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.01205, allocations: 55.95 kB / 412.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.01206, allocations: 192 / 412.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.01207, allocations: 3.938 kB / 412.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01207, allocations: 4 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.0121, allocations: 29.64 kB / 412.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.688e-05/0.01219, allocations: 116.8 kB / 412.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.366e-05/0.01224, allocations: 48.3 kB / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.01225, allocations: 30.56 kB / 412.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.01226, allocations: 8.062 kB / 412.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.0123, allocations: 64.2 kB / 412.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.0123, allocations: 0 / 412.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001863/0.01249, allocations: 122.7 kB / 412.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.01253, allocations: 77.11 kB / 412.9 MB, free: 11.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.237e-05/0.01256, allocations: 89.86 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.01257, allocations: 29.7 kB / 413 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.01259, allocations: 80.14 kB / 413.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.01261, allocations: 4 kB / 413.1 MB, free: 11.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.01264, allocations: 9.719 kB / 413.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.01272, allocations: 319 kB / 413.4 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.01274, allocations: 29.69 kB / 413.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.01275, allocations: 25.7 kB / 413.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.01279, allocations: 64.27 kB / 413.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01279, allocations: 0 / 413.5 MB, free: 11.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.828e-05/0.01286, allocations: 96.98 kB / 413.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.01289, allocations: 33.7 kB / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.0129, allocations: 0 / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01291, allocations: 7.875 kB / 413.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.01291, allocations: 4.094 kB / 413.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01292, allocations: 0 / 413.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.01293, allocations: 0 / 413.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.01294, allocations: 0 / 413.7 MB, free: 11.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.627e-05/0.01301, allocations: 135.5 kB / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-06/0.01301, allocations: 0 / 413.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.208e-05/0.01302, allocations: 10.98 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01302, allocations: 7.938 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.01303, allocations: 0 / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01303, allocations: 0 / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.268e-05/0.01309, allocations: 112.8 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.01309, allocations: 4 kB / 413.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-06/0.0131, allocations: 4 kB / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.0131, allocations: 4 kB / 414 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.0131, allocations: 0 / 414 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.01311, allocations: 3.938 kB / 414 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-07/0.01311, allocations: 0 / 414 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.897e-05/0.01318, allocations: 120.5 kB / 414.1 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-06/0.01319, allocations: 7.938 kB / 414.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.0132, allocations: 7.984 kB / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.01321, allocations: 3.938 kB / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.01322, allocations: 4.031 kB / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.01322, allocations: 0 / 414.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.17e-05/0.01324, allocations: 75.28 kB / 414.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01324, allocations: 0 / 414.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.01344, allocations: 71.86 kB / 414.2 MB, free: 10.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008716/0.01432, allocations: 0.9696 MB / 415.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.01443, allocations: 106.8 kB / 415.3 MB, free: 9.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01444, allocations: 0 / 415.3 MB, free: 9.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.01447, allocations: 89.05 kB / 415.4 MB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.01458, allocations: 12.05 kB / 415.4 MB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.01489, allocations: 164.1 kB / 415.6 MB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.538e-05/0.01492, allocations: 51.36 kB / 415.6 MB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.47e-06/0.01493, allocations: 0 / 415.6 MB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.01495, allocations: 16.48 kB / 415.6 MB, free: 8.91 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01495, allocations: 0 / 415.6 MB, free: 8.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.03199, allocations: 3.783 MB / 419.4 MB, free: 5.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.039, allocations: 7.859 kB / 419.4 MB, free: 5.066 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.069619845598936] Failed to read output from testmodel.py, exit status != 0: 7.119391366839409 7.128378771 7.115182192 Calling exit ...