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.001879/0.001879, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002362/0.002362, allocations: 215.5 kB / 22.99 MB, free: 4.605 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.562/1.562, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.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.2313/0.2313, allocations: 44.26 MB / 330.3 MB, free: 9.332 MB / 270.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.003565/0.003565, allocations: 74.25 kB / 467.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1742, allocations: 61.04 MB / 0.5161 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002278/0.1765, allocations: 0.4911 MB / 0.5166 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.1809, allocations: 1.263 MB / 0.5178 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.181, allocations: 4 kB / 0.5178 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.181, allocations: 0 / 0.5178 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.797e-06/0.181, allocations: 0 / 0.5178 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.1839, allocations: 0.5881 MB / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.404e-05/0.184, allocations: 0 / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.184, allocations: 0 / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.1841, allocations: 4 kB / 0.5184 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.1841, allocations: 0 / 0.5184 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.814e-06/0.1841, allocations: 4 kB / 0.5184 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02657/0.2107, allocations: 2.529 MB / 0.5209 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.2107, allocations: 0 / 0.5209 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.2107, allocations: 7.938 kB / 0.5209 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.211, allocations: 167.7 kB / 0.5211 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.211, allocations: 0 / 0.5211 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.211, allocations: 0 / 0.5211 GB, free: 2.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.211, allocations: 0 / 0.5211 GB, free: 2.207 MB / 398.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.0003515/0.2114, allocations: 307.8 kB / 0.5214 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2114, allocations: 12.03 kB / 0.5214 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.2115, allocations: 30.75 kB / 0.5214 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.2115, allocations: 0.9375 kB / 0.5214 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.376e-05/0.2116, allocations: 102.5 kB / 0.5215 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2116, allocations: 4.375 kB / 0.5215 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-06/0.2116, allocations: 384 / 0.5215 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.025e-05/0.2117, allocations: 67.27 kB / 0.5216 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.2117, allocations: 0 / 0.5216 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.2117, allocations: 0 / 0.5216 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2117, allocations: 0 / 0.5216 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.2117, allocations: 33.69 kB / 0.5216 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.2119, allocations: 120.8 kB / 0.5217 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.437e-05/0.2119, allocations: 44.27 kB / 0.5218 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.212, allocations: 34.66 kB / 0.5218 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.212, allocations: 7.875 kB / 0.5218 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.212, allocations: 56.27 kB / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.212, allocations: 0 / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001735/0.2122, allocations: 118.8 kB / 0.522 GB, free: 1.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.2123, allocations: 81.11 kB / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.102e-05/0.2123, allocations: 89.98 kB / 0.5221 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2123, allocations: 29.7 kB / 0.5222 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.2124, allocations: 80.14 kB / 0.5222 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.2124, allocations: 3.953 kB / 0.5222 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.2124, allocations: 21.66 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2125, allocations: 310.8 kB / 0.5226 GB, free: 448 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.2126, allocations: 29.69 kB / 0.5226 GB, free: 412 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.2126, allocations: 37.58 kB / 0.5226 GB, free: 368 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.2127, allocations: 68.27 kB / 0.5227 GB, free: 284 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2127, allocations: 0 / 0.5227 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.45e-05/0.2127, allocations: 93.11 kB / 0.5228 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.2128, allocations: 33.69 kB / 0.5228 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2128, allocations: 0 / 0.5228 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2128, allocations: 0 / 0.5228 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.2128, allocations: 0 / 0.5228 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2128, allocations: 0 / 0.5228 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.2128, allocations: 4 kB / 0.5228 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.2128, allocations: 0 / 0.5228 GB, free: 128 kB / 398.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 0.0001085/0.2129, allocations: 131.5 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.2129, allocations: 7.938 kB / 0.5229 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.276e-06/0.2129, allocations: 14.97 kB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2129, allocations: 3.984 kB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2129, allocations: 0 / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2129, allocations: 0 / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.72e-05/0.213, allocations: 116.8 kB / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.213, allocations: 0 / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-06/0.213, allocations: 3.938 kB / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.213, allocations: 0 / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2131, allocations: 0 / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2131, allocations: 0 / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.2131, allocations: 0 / 0.5231 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.2132, allocations: 120.5 kB / 0.5232 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.2132, allocations: 7.938 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.2132, allocations: 0 / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.2132, allocations: 3.984 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.2132, allocations: 0 / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2132, allocations: 4 kB / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.16e-05/0.2133, allocations: 75.28 kB / 0.5233 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2133, allocations: 0 / 0.5233 GB, free: 15.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.2135, allocations: 75.69 kB / 0.5233 GB, free: 15.48 MB / 414.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.001359/0.2149, allocations: 0.9541 MB / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.215, allocations: 118.8 kB / 0.5244 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.215, allocations: 0 / 0.5244 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.2151, allocations: 85.05 kB / 0.5245 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.2152, allocations: 3.906 kB / 0.5245 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.2155, allocations: 176 kB / 0.5246 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.2156, allocations: 55.36 kB / 0.5247 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.541e-06/0.2156, allocations: 0 / 0.5247 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.2157, allocations: 11.44 kB / 0.5247 GB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2157, allocations: 0 / 0.5247 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.2463, allocations: 3.615 MB / 0.5282 GB, free: 10.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.52, allocations: 4.062 kB / 0.5282 GB, free: 10.28 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.713060045149177] Failed to read output from testmodel.py, exit status != 0: 11.63308275071904 11.906158163 11.691879209 Calling exit ...