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.001393/0.001393, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.001419/0.001419, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.576/1.576, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.344/0.344, allocations: 44.24 MB / 327.3 MB, free: 6.676 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="cs",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.002525/0.002525, allocations: 67.91 kB / 462.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2692, allocations: 61 MB / 0.5116 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001436/0.2707, allocations: 0.4891 MB / 0.5121 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.2727, allocations: 1.304 MB / 0.5134 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.2727, allocations: 0 / 0.5134 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.2727, allocations: 0 / 0.5134 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.2727, allocations: 0 / 0.5134 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.2742, allocations: 0.5832 MB / 0.5139 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.71e-05/0.2742, allocations: 5.359 kB / 0.5139 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.2743, allocations: 1.219 kB / 0.5139 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.2743, allocations: 1.25 kB / 0.5139 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.23e-05/0.2743, allocations: 1.125 kB / 0.5139 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-06/0.2743, allocations: 0 / 0.5139 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01667/0.291, allocations: 2.539 MB / 0.5164 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.291, allocations: 1.375 kB / 0.5164 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.291, allocations: 5.312 kB / 0.5164 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.2915, allocations: 157.9 kB / 0.5166 GB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2915, allocations: 0 / 0.5166 GB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2915, allocations: 0 / 0.5166 GB, free: 9.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2915, allocations: 4 kB / 0.5166 GB, free: 9.938 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.0003267/0.2918, allocations: 384.9 kB / 0.517 GB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2919, allocations: 11.89 kB / 0.517 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.668e-05/0.2919, allocations: 4.188 kB / 0.517 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.654e-05/0.2919, allocations: 34.75 kB / 0.517 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.2919, allocations: 0.9375 kB / 0.517 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.8e-05/0.292, allocations: 164.4 kB / 0.5172 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.292, allocations: 384 / 0.5172 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.292, allocations: 4.125 kB / 0.5172 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2921, allocations: 37.64 kB / 0.5172 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2921, allocations: 0 / 0.5172 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.2921, allocations: 0 / 0.5172 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2921, allocations: 0 / 0.5172 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.2921, allocations: 4 kB / 0.5172 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.206e-05/0.2922, allocations: 153.7 kB / 0.5173 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.725e-05/0.2923, allocations: 14.58 kB / 0.5174 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.2923, allocations: 8.797 kB / 0.5174 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.539e-06/0.2923, allocations: 8.031 kB / 0.5174 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2923, allocations: 60.27 kB / 0.5174 GB, free: 8.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2923, allocations: 0 / 0.5174 GB, free: 8.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001612/0.2925, allocations: 67.39 kB / 0.5175 GB, free: 8.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.2925, allocations: 77.11 kB / 0.5176 GB, free: 8.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.682e-05/0.2925, allocations: 89.86 kB / 0.5177 GB, free: 8.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.2925, allocations: 29.64 kB / 0.5177 GB, free: 8.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-06/0.2925, allocations: 80.14 kB / 0.5178 GB, free: 8.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.2926, allocations: 7.953 kB / 0.5178 GB, free: 8.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.2926, allocations: 13.72 kB / 0.5178 GB, free: 8.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.2926, allocations: 318.9 kB / 0.5181 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.2926, allocations: 0 / 0.5181 GB, free: 8.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-06/0.2926, allocations: 7.938 kB / 0.5181 GB, free: 8.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.2927, allocations: 64.25 kB / 0.5182 GB, free: 8.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2927, allocations: 0 / 0.5182 GB, free: 8.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.481e-05/0.2927, allocations: 63.34 kB / 0.5182 GB, free: 7.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.2928, allocations: 33.7 kB / 0.5182 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2928, allocations: 0 / 0.5182 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2928, allocations: 0 / 0.5182 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-06/0.2928, allocations: 8.078 kB / 0.5183 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2928, allocations: 4 kB / 0.5183 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.2928, allocations: 0 / 0.5183 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2928, allocations: 4 kB / 0.5183 GB, free: 7.934 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 5.87e-05/0.2929, allocations: 131.5 kB / 0.5184 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.2929, allocations: 3.938 kB / 0.5184 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.28e-05/0.2929, allocations: 3.125 kB / 0.5184 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2929, allocations: 7.938 kB / 0.5184 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2929, allocations: 0 / 0.5184 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2929, allocations: 4 kB / 0.5184 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.647e-05/0.293, allocations: 145.7 kB / 0.5185 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.293, allocations: 3.938 kB / 0.5186 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.293, allocations: 0 / 0.5186 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.293, allocations: 4 kB / 0.5186 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.293, allocations: 0 / 0.5186 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.293, allocations: 0 / 0.5186 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.293, allocations: 0 / 0.5186 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.958e-05/0.2931, allocations: 98.83 kB / 0.5186 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.2931, allocations: 81.05 kB / 0.5187 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2931, allocations: 0 / 0.5187 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.2931, allocations: 0 / 0.5187 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.2931, allocations: 0 / 0.5187 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2931, allocations: 4 kB / 0.5187 GB, free: 7.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.415e-05/0.2931, allocations: 75.28 kB / 0.5188 GB, free: 7.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2931, allocations: 0 / 0.5188 GB, free: 7.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.2934, allocations: 71.8 kB / 0.5189 GB, free: 7.199 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.001164/0.2946, allocations: 0.9095 MB / 0.5198 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.2947, allocations: 67.39 kB / 0.5198 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2947, allocations: 4 kB / 0.5198 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.885e-05/0.2947, allocations: 59.34 kB / 0.5199 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.2949, allocations: 0 / 0.5199 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.2952, allocations: 158.3 kB / 0.52 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.071e-05/0.2953, allocations: 0.6729 MB / 0.5207 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.701e-06/0.2953, allocations: 0 / 0.5207 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.2953, allocations: 7.438 kB / 0.5207 GB, free: 5.195 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2953, allocations: 0 / 0.5207 GB, free: 5.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.3129, allocations: 3.136 MB / 0.5238 GB, free: 2.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.775, allocations: 12.64 kB / 0.5238 GB, free: 2.016 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.594954839034472] Failed to read output from testmodel.py, exit status != 0: 8.904224093013909 8.919543496 8.624880712 Calling exit ...