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.001262/0.001262, allocations: 113.1 kB / 17.12 MB, free: 5.93 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.001375/0.001375, allocations: 213 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.627/1.627, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] 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.3667/0.3667, allocations: 44.23 MB / 326.6 MB, free: 7.195 MB / 254.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002322/0.002322, allocations: 71.89 kB / 462.2 MB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2807, allocations: 61 MB / 0.5109 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001382/0.282, allocations: 497.9 kB / 0.5114 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2839, allocations: 1.307 MB / 0.5127 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.314e-05/0.2839, allocations: 0 / 0.5127 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.2839, allocations: 3.938 kB / 0.5127 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.539e-06/0.2839, allocations: 1.125 kB / 0.5127 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.2851, allocations: 0.5805 MB / 0.5132 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.168e-05/0.2852, allocations: 1.812 kB / 0.5132 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.2852, allocations: 5.734 kB / 0.5133 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.889e-05/0.2852, allocations: 0 / 0.5133 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.858e-05/0.2853, allocations: 1.844 kB / 0.5133 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-06/0.2853, allocations: 0 / 0.5133 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01582/0.3011, allocations: 2.533 MB / 0.5157 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.3011, allocations: 0 / 0.5157 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.3011, allocations: 11.94 kB / 0.5157 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.3014, allocations: 147.7 kB / 0.5159 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3015, allocations: 7.984 kB / 0.5159 GB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3015, allocations: 4 kB / 0.5159 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3015, allocations: 0 / 0.5159 GB, free: 10.11 MB / 382.1 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.0002923/0.3018, allocations: 380.8 kB / 0.5163 GB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3018, allocations: 11.89 kB / 0.5163 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.932e-05/0.3018, allocations: 38.69 kB / 0.5163 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.3018, allocations: 0.9375 kB / 0.5163 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.148e-05/0.3019, allocations: 160.4 kB / 0.5165 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.3019, allocations: 4.375 kB / 0.5165 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3019, allocations: 384 / 0.5165 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.109e-05/0.302, allocations: 41.62 kB / 0.5165 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.302, allocations: 0 / 0.5165 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.302, allocations: 0 / 0.5165 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.302, allocations: 0 / 0.5165 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.515e-05/0.302, allocations: 0 / 0.5165 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.562e-05/0.3021, allocations: 145.7 kB / 0.5166 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/0.3021, allocations: 26.45 kB / 0.5167 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.3021, allocations: 8.844 kB / 0.5167 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.3021, allocations: 8.031 kB / 0.5167 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3022, allocations: 60.27 kB / 0.5167 GB, free: 9.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3022, allocations: 0 / 0.5167 GB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001405/0.3023, allocations: 59.41 kB / 0.5168 GB, free: 8.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.3023, allocations: 81.05 kB / 0.5169 GB, free: 8.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.753e-05/0.3024, allocations: 97.97 kB / 0.517 GB, free: 8.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-06/0.3024, allocations: 25.7 kB / 0.517 GB, free: 8.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-06/0.3024, allocations: 80.14 kB / 0.5171 GB, free: 8.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3024, allocations: 7.953 kB / 0.5171 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.3024, allocations: 13.72 kB / 0.5171 GB, free: 8.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.65e-05/0.3024, allocations: 310.8 kB / 0.5174 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.3025, allocations: 3.938 kB / 0.5174 GB, free: 8.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-06/0.3025, allocations: 4 kB / 0.5174 GB, free: 8.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.3025, allocations: 64.33 kB / 0.5175 GB, free: 8.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3025, allocations: 0 / 0.5175 GB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.843e-05/0.3025, allocations: 71.27 kB / 0.5175 GB, free: 8.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3026, allocations: 33.7 kB / 0.5176 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3026, allocations: 4 kB / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3026, allocations: 0 / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3026, allocations: 0 / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3026, allocations: 3.984 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.3026, allocations: 3.984 kB / 0.5176 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3026, allocations: 8.031 kB / 0.5176 GB, free: 8.102 MB / 382.1 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 4.036e-05/0.3026, allocations: 135.5 kB / 0.5177 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.3026, allocations: 3.938 kB / 0.5177 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-06/0.3027, allocations: 3.125 kB / 0.5177 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3027, allocations: 4 kB / 0.5177 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3027, allocations: 0 / 0.5177 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3027, allocations: 0 / 0.5177 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.416e-05/0.3027, allocations: 145.7 kB / 0.5178 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3027, allocations: 3.984 kB / 0.5179 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.3027, allocations: 7.938 kB / 0.5179 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.3027, allocations: 0 / 0.5179 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.3027, allocations: 4 kB / 0.5179 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3027, allocations: 0 / 0.5179 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3027, allocations: 0 / 0.5179 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.044e-05/0.3028, allocations: 98.75 kB / 0.518 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.3028, allocations: 81.05 kB / 0.518 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3028, allocations: 0 / 0.518 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-06/0.3028, allocations: 4.031 kB / 0.518 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.3028, allocations: 3.938 kB / 0.518 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3028, allocations: 4 kB / 0.518 GB, free: 7.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.968e-06/0.3028, allocations: 75.28 kB / 0.5181 GB, free: 7.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3028, allocations: 0 / 0.5181 GB, free: 7.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.3031, allocations: 71.8 kB / 0.5182 GB, free: 7.355 MB / 382.1 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.001021/0.3041, allocations: 0.9017 MB / 0.5191 GB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.454e-05/0.3042, allocations: 67.34 kB / 0.5191 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3042, allocations: 0 / 0.5191 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.3042, allocations: 51.41 kB / 0.5192 GB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.3043, allocations: 4 kB / 0.5192 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.3046, allocations: 154.3 kB / 0.5193 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.557e-05/0.3047, allocations: 0.669 MB / 0.52 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.172e-06/0.3047, allocations: 128 / 0.52 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.3047, allocations: 15.44 kB / 0.52 GB, free: 5.367 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3047, allocations: 0 / 0.52 GB, free: 5.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.3283, allocations: 3.098 MB / 0.523 GB, free: 2.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.483, allocations: 8.578 kB / 0.523 GB, free: 2.227 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.417525999990175] Failed to read output from testmodel.py, exit status != 0: 8.554312723994371 8.578658864 8.272574786 Calling exit ...