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.0008559/0.0008559, allocations: 75.7 kB / 20.01 MB, free: 4.504 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.0009359/0.0009359, allocations: 166 kB / 23.31 MB, free: 1.203 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.8661/0.8661, allocations: 158.6 MB / 185.1 MB, free: 3 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.1308/0.1308, allocations: 32.37 MB / 269.7 MB, free: 14.91 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.773e-06/1.773e-06, allocations: 0 / 407 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.489e-05, allocations: 6.078 kB / 407 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001121/0.001146, allocations: 0.4949 MB / 407.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.002656, allocations: 1.252 MB / 408.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.002676, allocations: 0 / 408.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.002691, allocations: 4 kB / 408.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.002698, allocations: 0 / 408.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.003733, allocations: 0.5839 MB / 409.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.343e-05/0.003777, allocations: 0 / 409.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.928e-05/0.003806, allocations: 0 / 409.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.79e-05/0.003834, allocations: 7.984 kB / 409.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.198e-05/0.003856, allocations: 3.984 kB / 409.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-06/0.003862, allocations: 0 / 409.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005747/0.009609, allocations: 2.53 MB / 411.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-06/0.009617, allocations: 4 kB / 411.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.009638, allocations: 3.984 kB / 411.9 MB, free: 8.609 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.009908, allocations: 203.6 kB / 412.1 MB, free: 8.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00991, allocations: 0 / 412.1 MB, free: 8.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.009912, allocations: 0 / 412.1 MB, free: 8.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.009915, allocations: 0 / 412.1 MB, free: 8.41 MB / 346.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.0002583/0.01017, allocations: 311.7 kB / 412.4 MB, free: 8.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.01021, allocations: 12.03 kB / 412.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.01024, allocations: 30.75 kB / 412.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.01026, allocations: 0.9375 kB / 412.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.373e-05/0.0103, allocations: 105.8 kB / 412.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.01031, allocations: 8.375 kB / 412.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.01032, allocations: 384 / 412.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.11e-05/0.0104, allocations: 63.89 kB / 412.6 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.01041, allocations: 192 / 412.6 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.01041, allocations: 3.938 kB / 412.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.01042, allocations: 0 / 412.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.01044, allocations: 25.7 kB / 412.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.566e-05/0.01052, allocations: 120.8 kB / 412.8 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.01057, allocations: 48.31 kB / 412.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.01058, allocations: 34.55 kB / 412.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.01059, allocations: 0 / 412.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.01062, allocations: 64.27 kB / 412.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 5.1e-07/0.01062, allocations: 0 / 412.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.01077, allocations: 122.7 kB / 413 MB, free: 7.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.0108, allocations: 77.11 kB / 413.1 MB, free: 7.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.47e-05/0.01083, allocations: 89.86 kB / 413.2 MB, free: 7.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.01084, allocations: 25.83 kB / 413.2 MB, free: 7.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.01085, allocations: 84.14 kB / 413.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.01087, allocations: 0 / 413.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.01089, allocations: 13.72 kB / 413.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.01098, allocations: 310.8 kB / 413.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.01099, allocations: 29.7 kB / 413.7 MB, free: 6.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.226e-05/0.011, allocations: 29.7 kB / 413.7 MB, free: 6.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.01103, allocations: 68.19 kB / 413.8 MB, free: 6.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01103, allocations: 0 / 413.8 MB, free: 6.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.516e-05/0.01108, allocations: 85.11 kB / 413.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.0111, allocations: 33.8 kB / 413.9 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01111, allocations: 3.984 kB / 413.9 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.01112, allocations: 3.938 kB / 413.9 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.01112, allocations: 3.938 kB / 413.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.01112, allocations: 4 kB / 413.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.01114, allocations: 4 kB / 413.9 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.01115, allocations: 0 / 413.9 MB, free: 6.332 MB / 346.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 5.124e-05/0.0112, allocations: 135.5 kB / 414 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-06/0.0112, allocations: 3.984 kB / 414 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.578e-06/0.01121, allocations: 3 kB / 414 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01121, allocations: 7.938 kB / 414 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01122, allocations: 0 / 414 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.01122, allocations: 0 / 414 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.537e-05/0.01128, allocations: 124.7 kB / 414.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-07/0.01128, allocations: 3.938 kB / 414.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-07/0.01128, allocations: 0 / 414.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.01128, allocations: 0 / 414.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.01128, allocations: 0 / 414.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01128, allocations: 3.938 kB / 414.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.01128, allocations: 4 kB / 414.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.01139, allocations: 120.5 kB / 414.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-06/0.01139, allocations: 0 / 414.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.0114, allocations: 4 kB / 414.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-06/0.01141, allocations: 3.938 kB / 414.3 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.01142, allocations: 4 kB / 414.3 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.01142, allocations: 0 / 414.3 MB, free: 5.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.888e-05/0.01144, allocations: 83.27 kB / 414.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01144, allocations: 0 / 414.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.01161, allocations: 59.88 kB / 414.4 MB, free: 5.691 MB / 346.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.0006386/0.01225, allocations: 0.9619 MB / 415.4 MB, free: 4.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.332e-05/0.01233, allocations: 122.8 kB / 415.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.01233, allocations: 0 / 415.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.01235, allocations: 81.11 kB / 415.6 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.664e-05/0.01244, allocations: 3.938 kB / 415.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.01267, allocations: 176 kB / 415.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.858e-05/0.0127, allocations: 59.34 kB / 415.8 MB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.238e-06/0.01271, allocations: 0 / 415.8 MB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.01272, allocations: 12.5 kB / 415.8 MB, free: 4.133 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01272, allocations: 0 / 415.8 MB, free: 4.133 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.02719, allocations: 3.761 MB / 419.6 MB, free: 340 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.734, allocations: 4.062 kB / 419.6 MB, free: 336 kB / 346.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: 8.641096778213978] Failed to read output from testmodel.py, exit status != 0: 6.813547931611538 6.823159858 6.811638879 Calling exit ...